projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f980a8
)
[SCSI] mvsas: correct bit map usage
author
Andy Yan
<ayan@marvell.com>
Mon, 11 May 2009 13:56:31 +0000
(21:56 +0800)
committer
James 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
patch
|
blob
|
history
diff --git
a/drivers/scsi/mvsas/mv_sas.h
b/drivers/scsi/mvsas/mv_sas.h
index
75b9748
..
93735ed
100644
(file)
--- 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];