]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] qla4xxx: fix up residual handling
authorDavid Somayajulu <david.somayajulu@qlogic.com>
Thu, 21 Feb 2008 11:43:00 +0000 (03:43 -0800)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 22 Feb 2008 23:14:12 +0000 (17:14 -0600)
commit65fecc77f3c47c5e8758d133b8ec47dcc16ed207
tree4102258366decf5e24e94ea7f410d91340219938
parenta8e14fec164cc01d8dfb18760ee9bddd91e127c2
[SCSI] qla4xxx: fix up residual handling

the check in the residual case has an incorrect test of scsi_status
(the logic is reversed, it should be scsi_status != 0 instead of
!scsi_status.  Since we checked a few lines above that scsi_status was
non-zero, just eliminate this test

Signed-off-by: David C Somayajulu <david.somayajulu@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/qla4xxx/ql4_isr.c