[SCSI] mvsas: correct bit map usage
authorAndy Yan <ayan@marvell.com>
Mon, 11 May 2009 13:56:31 +0000 (21:56 +0800)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 23 May 2009 20:44:08 +0000 (15:44 -0500)
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>
drivers/scsi/mvsas/mv_sas.h

index 75b9748ae7cc70f0f8f5b0f3eccbd6db5f5b5250..93735edff507da659239def7c2ed6a3e2b083cd4 100644 (file)
@@ -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];