[SCSI] qla2xxx: Properly handle UNDERRUN completion statuses.
authorLalit Chandivade <lalit.chandivade@qlogic.com>
Tue, 13 Oct 2009 22:16:52 +0000 (15:16 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:00:14 +0000 (12:00 -0600)
commit0f00a206ccb1dc644b6770ef25f185610fee6962
treeccf60cbb85f59d65b0a876f32ad5799d389482f0
parent531a82d1bd73152130b9e3b1f3e2e875c6cff7cd
[SCSI] qla2xxx: Properly handle UNDERRUN completion statuses.

Correct issues where the lower scsi-status would be improperly
cleared, instead, allow the midlayer to process the status after
the proper residual-count checks are performed.  Finally,
validate firmware status flags prior to assigning values from the
FCP_RSP frame.

Signed-off-by: Lalit Chandivade <lalit.chandivade@qlogic.com>
Signed-off-by: Michael Hernandez <michael.hernandez@qlogic.com>
Signed-off-by: Ravi Anand <ravi.anand@qlogic.com>
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla2xxx/qla_isr.c