diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2016-03-07 11:59:44 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-03-14 15:50:16 -0400 |
commit | bb017d031a551b6011a43d255f4ebf613de0e13d (patch) | |
tree | ea86dfa61640b841bde4e5ad32d6a6630f77cd9d /drivers/thermal | |
parent | a41b2efb134bdeefe8c27fa77ffaaef0b974c390 (diff) |
scsi: storvsc: fix SRB_STATUS_ABORTED handling
Commit 3209f9d780d1 ("scsi: storvsc: Fix a bug in the handling of SRB
status flags") filtered SRB_STATUS_AUTOSENSE_VALID out effectively making
the (SRB_STATUS_ABORTED | SRB_STATUS_AUTOSENSE_VALID) case a dead code. The
logic from this branch (e.g. storvsc_device_scan() call) is still required,
fix the check.
Cc: <stable@vger.kernel.org> #v4.4+
Fixes: 3209f9d780d1 ("scsi: storvsc: Fix a bug in the handling of SRB status flags")
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Acked-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/thermal')
0 files changed, 0 insertions, 0 deletions