Commit ee3270a0 authored by Hannes Reinecke's avatar Hannes Reinecke Committed by Yang Yingliang
Browse files

scsi: scsi_dh_alua: Check for negative result value

stable inclusion
from linux-4.19.198
commit f4bde1d1bf905590c55acb02104c60d1c281a24f

--------------------------------

[ Upstream commit 7e26e3ea ]

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: default avatarHannes Reinecke <hare@suse.de>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 2b43dab7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment