scsi: mpt3sas: Incorrect command status was set/marked as not used.
authorChaitra P B <chaitra.basappa@broadcom.com>
Thu, 31 May 2018 10:34:48 +0000 (06:34 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 19 Jun 2018 01:05:32 +0000 (21:05 -0400)
commite3586147b8b123fcaf739f4dcda741e13c5eaf9e
treeaebb5b4467391ffd34ed61c4d00f955ef3ebf950
parent999c85134db71599698917775f35fd56ced2dc0a
scsi: mpt3sas: Incorrect command status was set/marked as not used.

In _scsih_scan_finished driver should mark port_enable_cmd.status as
'command not used', instead base_cmds.status was marked as 'command not
used'. Update code to mark port_enable_cmd.status as 'command not used'.

Signed-off-by: Chaitra P B <chaitra.basappa@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_scsih.c