aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi
diff options
context:
space:
mode:
authorJes Sorensen <jes@sgi.com>2007-01-22 20:21:31 +0100
committerAdrian Bunk <bunk@stusta.de>2007-01-22 21:41:22 +0100
commit6516dfec53f26f6de42785fd27f4e2a42950c793 (patch)
tree7207b1bf06fc9dbfe9611d527263036623473c4c /drivers/scsi
parent12143549cc27c4ba4f83ab97d78d495c34c220f2 (diff)
[SCSI] qla1280 bus reset typo
Fix typo in check of return value of qla1280_bus_reset() which would result in an adapter reset in addition to the bus reset. Signed-off-by: Jes Sorensen <jes@sgi.com> Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/qla1280.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c
index d798c7d48b9..6a229f16cb5 100644
--- a/drivers/scsi/qla1280.c
+++ b/drivers/scsi/qla1280.c
@@ -955,11 +955,10 @@ qla1280_error_action(struct scsi_cmnd *cmd, enum action action)
case BUS_RESET:
if (qla1280_verbose)
- printk(KERN_INFO "qla1280(%ld:%d): Issuing BUS "
- "DEVICE RESET\n", ha->host_no, bus);
- if (qla1280_bus_reset(ha, bus == 0))
+ printk(KERN_INFO "qla1280(%ld:%d): Issued bus "
+ "reset.\n", ha->host_no, bus);
+ if (qla1280_bus_reset(ha, bus) == 0)
result = SUCCESS;
-
break;
case ADAPTER_RESET: