]> git.baikalelectronics.ru Git - kernel.git/commit
qla2xxx: Avoid escalating the SCSI error handler if the command is not found in firmware.
authorChad Dupuis <chad.dupuis@qlogic.com>
Fri, 11 Apr 2014 20:54:31 +0000 (16:54 -0400)
committerChristoph Hellwig <hch@lst.de>
Mon, 19 May 2014 11:31:03 +0000 (13:31 +0200)
commita1303e4411cfdc255db92c7872ad49b4440d8ad8
tree2dbb46cc73066284ceb1c1877ca76e94da820d4f
parentdfefb8eda950aacdfdbf0014786ff0d823acf922
qla2xxx: Avoid escalating the SCSI error handler if the command is not found in firmware.

If the firmware cannot find the command specified then return SUCCESS to the
error handler so as not to needlessly escalate.  Also cleanup the resources for
the command since we cannot expect the original command to returned in
interrupt context.

Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_mbx.c
drivers/scsi/qla2xxx/qla_os.c