aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/vmw_pvscsi.c
diff options
context:
space:
mode:
authorQuinn Tran2022-03-10 01:25:52 -0800
committerMartin K. Petersen2022-03-15 00:29:13 -0400
commit58ca5999e0367d131de82a75257fbfd5aed0195d (patch)
tree8939803cd64d284ead304cee5cc8b254fc7b019c /drivers/scsi/vmw_pvscsi.c
parent8709c323091be019f76a49cf783052a5636aca85 (diff)
scsi: qla2xxx: Fix incorrect reporting of task management failure
User experienced no task management error while target device is responding with error. The RSP_CODE field in the status IOCB is in little endian. Driver assumes it's big endian and it picked up erroneous data. Convert the data back to big endian as is on the wire. Link: https://lore.kernel.org/r/20220310092604.22950-2-njavali@marvell.com Fixes: faef62d13463 ("[SCSI] qla2xxx: Fix Task Management command asynchronous handling") Cc: stable@vger.kernel.org Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> Signed-off-by: Quinn Tran <qutran@marvell.com> Signed-off-by: Nilesh Javali <njavali@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/vmw_pvscsi.c')
0 files changed, 0 insertions, 0 deletions