]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: qla2xxx: Remove check req_sg_cnt should be equal to rsp_sg_cnt
authorSaurav Kashyap <skashyap@marvell.com>
Fri, 15 Nov 2024 13:03:10 +0000 (18:33 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 18:51:33 +0000 (19:51 +0100)
commit694598a7828d85d9a99bb24e3594970aede7c3b2
treeaf735835000ddfbb75673959c7bc7c011da5dd83
parentca36d9d53745d5ec8946ef85006d4da605ea7c54
scsi: qla2xxx: Remove check req_sg_cnt should be equal to rsp_sg_cnt

commit 833c70e212fc40d3e98da941796f4c7bcaecdf58 upstream.

Firmware supports multiple sg_cnt for request and response for CT
commands, so remove the redundant check. A check is there where sg_cnt
for request and response should be same. This is not required as driver
and FW have code to handle multiple and different sg_cnt on request and
response.

Cc: stable@vger.kernel.org
Signed-off-by: Saurav Kashyap <skashyap@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Link: https://lore.kernel.org/r/20241115130313.46826-5-njavali@marvell.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/qla2xxx/qla_bsg.c