diff options
author | Prakash, Sathya <sathya.prakash@lsi.com> | 2007-08-14 06:42:53 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-12 14:40:43 -0400 |
commit | f606f5718fa5a36e400000f91c44a5725b0f005d (patch) | |
tree | 0d51211948c5499ec44f645f7f816bd8f99fec31 /drivers/message/fusion/mptsas.c | |
parent | 7a195f464e0692607aca8150c8489a838fab684b (diff) |
[SCSI] mpt fusion: Change call back indices to u8 from int
The call back index requires only u8 but in lot of places it is
referred as int, now everywhere the call back index variables are
declared as u8 with uniform name cb_idx
signed-off-by: Sathya Prakash <sathya.prakash@lsi.com>
Acked-by: Eric Moore <Eric.Moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/message/fusion/mptsas.c')
-rw-r--r-- | drivers/message/fusion/mptsas.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c index fe3b505b895e..ffbf0e59200e 100644 --- a/drivers/message/fusion/mptsas.c +++ b/drivers/message/fusion/mptsas.c | |||
@@ -89,10 +89,10 @@ static int max_lun = MPTSAS_MAX_LUN; | |||
89 | module_param(max_lun, int, 0); | 89 | module_param(max_lun, int, 0); |
90 | MODULE_PARM_DESC(max_lun, " max lun, default=16895 "); | 90 | MODULE_PARM_DESC(max_lun, " max lun, default=16895 "); |
91 | 91 | ||
92 | static int mptsasDoneCtx = -1; | 92 | static u8 mptsasDoneCtx = MPT_MAX_PROTOCOL_DRIVERS; |
93 | static int mptsasTaskCtx = -1; | 93 | static u8 mptsasTaskCtx = MPT_MAX_PROTOCOL_DRIVERS; |
94 | static int mptsasInternalCtx = -1; /* Used only for internal commands */ | 94 | static u8 mptsasInternalCtx = MPT_MAX_PROTOCOL_DRIVERS; /* Used only for internal commands */ |
95 | static int mptsasMgmtCtx = -1; | 95 | static u8 mptsasMgmtCtx = MPT_MAX_PROTOCOL_DRIVERS; |
96 | 96 | ||
97 | static void mptsas_hotplug_work(struct work_struct *work); | 97 | static void mptsas_hotplug_work(struct work_struct *work); |
98 | 98 | ||