diff options
author | Hannes Reinecke <hare@suse.de> | 2021-04-27 11:30:11 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-06-01 05:48:21 +0300 |
commit | 7e26e3ea028740f934477ec01ba586ab033c35aa (patch) | |
tree | d15ff5ecb420d752b0f139255c789e2e26f2a831 /drivers/scsi/scsi_ioctl.c | |
parent | 64aaa3dd096a1949ab216cdcc105a10059ab1244 (diff) | |
download | linux-7e26e3ea028740f934477ec01ba586ab033c35aa.tar.xz |
scsi: scsi_dh_alua: Check for negative result value
scsi_execute() will now return a negative error if there was an error prior
to command submission; evaluate that instead if checking for DRIVER_ERROR.
[mkp: build fix]
Link: https://lore.kernel.org/r/20210427083046.31620-6-hare@suse.de
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_ioctl.c')
0 files changed, 0 insertions, 0 deletions