]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: mpt3sas: check command status before attempting abort
authorHannes Reinecke <hare@suse.de>
Thu, 4 Jan 2018 12:57:06 +0000 (04:57 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 11 Jan 2018 04:25:01 +0000 (23:25 -0500)
commit010a9f0c84093c2726f162b347c34f85c2ce27bf
treee07d711d0d403dd9159ee8a41504e6d8ac859046
parentfb8580c2cb334587b15d783ad7f2ddc941925cee
scsi: mpt3sas: check command status before attempting abort

When attempting a command abort we should check the command status prior
to sending the abort; the command might've been completed already.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Suganath Prabu S <suganath-prabu.subramani@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_scsih.c