Skip to content

Commit

Permalink
[SCSI] mvsas: correct bit map usage
Browse files Browse the repository at this point in the history
Utilize DECLARE_BITMAP to define the tags array.

Signed-off-by: Ying Chu <jasonchu@marvell.com>
Signed-off-by: Andy Yan <ayan@marvell.com>
Signed-off-by: Ke Wei <kewei@marvell.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
  • Loading branch information
Andy Yan authored and James Bottomley committed May 23, 2009
1 parent 0f980a8 commit 77db27c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/scsi/mvsas/mv_sas.h
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,7 @@ struct mvs_info {
const struct mvs_chip_info *chip;

int tags_num;
u8 tags[MVS_SLOTS >> 3];

DECLARE_BITMAP(tags, MVS_SLOTS);
/* further per-slot information */
struct mvs_phy phy[MVS_MAX_PHYS];
struct mvs_port port[MVS_MAX_PHYS];
Expand Down

0 comments on commit 77db27c

Please sign in to comment.