summaryrefslogtreecommitdiff
path: root/drivers/scsi/mvsas
diff options
context:
space:
mode:
authorAndy Yan <ayan@marvell.com>2009-05-11 13:56:31 (GMT)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-05-23 20:44:08 (GMT)
commit77db27cdcbc8ed371fd2f154cbadc7ff32ae8901 (patch)
tree9353f6b1c123d50a71d8be81517cbd5e4a0d5436 /drivers/scsi/mvsas
parent0f980a871678b7ec143fcb45b31bf9234e4585c8 (diff)
downloadlinux-77db27cdcbc8ed371fd2f154cbadc7ff32ae8901.tar.xz
[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>
Diffstat (limited to 'drivers/scsi/mvsas')
-rw-r--r--drivers/scsi/mvsas/mv_sas.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/mvsas/mv_sas.h b/drivers/scsi/mvsas/mv_sas.h
index 75b9748..93735ed 100644
--- a/drivers/scsi/mvsas/mv_sas.h
+++ b/drivers/scsi/mvsas/mv_sas.h
@@ -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];