[SCSI] mvsas: correct bit map usage
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>
This commit is contained in:
parent
0f980a8716
commit
77db27cdcb
@ -313,8 +313,7 @@ struct mvs_info {
|
|||||||
const struct mvs_chip_info *chip;
|
const struct mvs_chip_info *chip;
|
||||||
|
|
||||||
int tags_num;
|
int tags_num;
|
||||||
u8 tags[MVS_SLOTS >> 3];
|
DECLARE_BITMAP(tags, MVS_SLOTS);
|
||||||
|
|
||||||
/* further per-slot information */
|
/* further per-slot information */
|
||||||
struct mvs_phy phy[MVS_MAX_PHYS];
|
struct mvs_phy phy[MVS_MAX_PHYS];
|
||||||
struct mvs_port port[MVS_MAX_PHYS];
|
struct mvs_port port[MVS_MAX_PHYS];
|
||||||
|
Loading…
Reference in New Issue
Block a user