Commit 77db27cd authored by Andy Yan's avatar Andy Yan Committed by James Bottomley

[SCSI] mvsas: correct bit map usage

Utilize DECLARE_BITMAP to define the tags array.
Signed-off-by: default avatarYing Chu <jasonchu@marvell.com>
Signed-off-by: default avatarAndy Yan <ayan@marvell.com>
Signed-off-by: default avatarKe Wei <kewei@marvell.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 0f980a87
...@@ -313,8 +313,7 @@ struct mvs_info { ...@@ -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];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment