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:15:56 +0000 (19:15 +0100)
commit59e736bab849c2db967eb01c3847042779417a2c
tree0ab80c8ca86bfc8c0be7fee067473a3e44d1719a
parent5af2eb2ffa62b5f27aeb609bbd46e88674f14c1f
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