]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: qla2xxx: fixup incorrect usage of host_byte
authorHannes Reinecke <hare@suse.com>
Fri, 18 Oct 2019 14:04:58 +0000 (16:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Nov 2019 18:27:41 +0000 (19:27 +0100)
commitcce90d648943e311e4d06f15a35e754c5f53914f
treec2b6c0abbb67ceabf76443b16372e789390b354b
parent690a68940a8ba50fd4bbae6976d181039a83547c
scsi: qla2xxx: fixup incorrect usage of host_byte

[ Upstream commit 66cf50e65b183c863825f5c28a818e3f47a72e40 ]

DRIVER_ERROR is a a driver byte setting, not a host byte.  The qla2xxx
driver should rather return DID_ERROR here to be in line with the other
drivers.

Link: https://lore.kernel.org/r/20191018140458.108278-1-hare@suse.de
Signed-off-by: Hannes Reinecke <hare@suse.com>
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/qla2xxx/qla_bsg.c