projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e61b17f
)
[SCSI] aacraid: Fix error in max_channel field
author
Mark Haverkamp
<markh@osdl.org>
Mon, 27 Mar 2006 17:44:15 +0000
(09:44 -0800)
committer
James Bottomley
<jejb@mulgrave.il.steeleye.com>
Thu, 13 Apr 2006 15:13:19 +0000
(10:13 -0500)
Received from Mark Salyzyn
The max_channel field is set one too large.
Signed-off-by: Mark Haverkamp <markh@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aacraid/linit.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/aacraid/linit.c
b/drivers/scsi/aacraid/linit.c
index 78c82f774535ccbdf2d67df37642a09acf875344..fbd4f5538ac1b9b2cc51d7037226af48717835a8 100644
(file)
--- a/
drivers/scsi/aacraid/linit.c
+++ b/
drivers/scsi/aacraid/linit.c
@@
-907,9
+907,9
@@
static int __devinit aac_probe_one(struct pci_dev *pdev,
* physical channels are address by their actual physical number+1
*/
if (aac->nondasd_support == 1)
- shost->max_channel = aac->maximum_num_channels
+ 1
;
+ shost->max_channel = aac->maximum_num_channels;
else
- shost->max_channel =
1
;
+ shost->max_channel =
0
;
aac_get_config_status(aac);
aac_get_containers(aac);