Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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: James Bottomley <James.Bottomley@SteelEye.com>

authored by

Jes Sorensen and committed by
James Bottomley
cd00b7f5 b5072ea0

+3 -4
+3 -4
drivers/scsi/qla1280.c
··· 931 931 932 932 case BUS_RESET: 933 933 if (qla1280_verbose) 934 - printk(KERN_INFO "qla1280(%ld:%d): Issuing BUS " 935 - "DEVICE RESET\n", ha->host_no, bus); 936 - if (qla1280_bus_reset(ha, bus == 0)) 934 + printk(KERN_INFO "qla1280(%ld:%d): Issued bus " 935 + "reset.\n", ha->host_no, bus); 936 + if (qla1280_bus_reset(ha, bus) == 0) 937 937 result = SUCCESS; 938 - 939 938 break; 940 939 941 940 case ADAPTER_RESET: