diff options
author | Quinn Tran <qutran@marvell.com> | 2022-03-10 01:25:52 -0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-03-15 00:29:13 -0400 |
commit | 58ca5999e0367d131de82a75257fbfd5aed0195d (patch) | |
tree | 8939803cd64d284ead304cee5cc8b254fc7b019c /net/Kconfig | |
parent | 8709c323091be019f76a49cf783052a5636aca85 (diff) | |
download | linux-58ca5999e0367d131de82a75257fbfd5aed0195d.tar.gz linux-58ca5999e0367d131de82a75257fbfd5aed0195d.tar.bz2 linux-58ca5999e0367d131de82a75257fbfd5aed0195d.zip |
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 'net/Kconfig')
0 files changed, 0 insertions, 0 deletions