]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
qla2xxx: Properly handle UNDERRUN completion statuses.
authorLalit Chandivade <lalit.chandivade@qlogic.com>
Tue, 13 Oct 2009 22:16:52 +0000 (15:16 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 May 2010 21:57:14 +0000 (14:57 -0700)
commitb2729e2d217adfcc72e1e600b8e3ff4a6dd5cb4c
treee00550e2910161019d9114e537dab67020401046
parent5d233bf3dcad483e5f89865aaf5973e67c1630b1
qla2xxx: Properly handle UNDERRUN completion statuses.

commit 0f00a206ccb1dc644b6770ef25f185610fee6962 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/qla2xxx/qla_isr.c