diff options
author | Johannes Thumshirn <jthumshirn@suse.de> | 2015-08-17 15:52:32 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-09-06 11:53:31 -0700 |
commit | 50acde8ed35620fdfad88f4e20a39a1eb0d8d4c9 (patch) | |
tree | 9d219c39caed73caef5e18df493ac94419f910c1 /drivers/scsi/mvumi.c | |
parent | 612872cabf5be6f95d43d9a88eef38201ae8005d (diff) | |
download | linux-50acde8ed35620fdfad88f4e20a39a1eb0d8d4c9.tar.bz2 |
pm80xx: Don't override ts->stat on IO_OPEN_CNX_ERROR_HW_RESOURCE_BUSY
In case psataPayload->status has a status of IO_OPEN_CNX_ERROR_HW_RESOURCE_BUSY
ts->stat gets set to SAS_OPEN_REJECT but a missing 'break' statement causes a
fallthrough to the default handler of the switch statement overriding ts->stat
to SAS_DEV_NO_RESPONSE.
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Acked-by: Jack Wang <jinpu.wang@profitbricks.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi/mvumi.c')
0 files changed, 0 insertions, 0 deletions