diff options
author | Andy Yan <ayan@marvell.com> | 2009-05-11 21:56:31 +0800 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-05-23 15:44:08 -0500 |
commit | 77db27cdcbc8ed371fd2f154cbadc7ff32ae8901 (patch) | |
tree | 9353f6b1c123d50a71d8be81517cbd5e4a0d5436 /drivers | |
parent | 0f980a871678b7ec143fcb45b31bf9234e4585c8 (diff) | |
download | kernel_goldelico_gta04-77db27cdcbc8ed371fd2f154cbadc7ff32ae8901.zip kernel_goldelico_gta04-77db27cdcbc8ed371fd2f154cbadc7ff32ae8901.tar.gz kernel_goldelico_gta04-77db27cdcbc8ed371fd2f154cbadc7ff32ae8901.tar.bz2 |
[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')
-rw-r--r-- | drivers/scsi/mvsas/mv_sas.h | 3 |
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]; |