]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: lpfc: Correct size for wqe for memset()
authorMuhammad Usama Anjum <usama.anjum@collabora.com>
Mon, 4 Mar 2024 09:06:48 +0000 (14:06 +0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Apr 2024 10:50:11 +0000 (12:50 +0200)
commit5df0d994c23a43f4c0f2a7fdf6b62e106d08e53e
tree1e3f7b965a992909a5e04acd2189634ee64cbf3b
parentbb8cc9c34361714dd232700b3d5f1373055de610
scsi: lpfc: Correct size for wqe for memset()

commit 28d41991182c210ec1654f8af2e140ef4cc73f20 upstream.

The wqe is of type lpfc_wqe128. It should be memset with the same type.

Fixes: 6c621a2229b0 ("scsi: lpfc: Separate NVMET RQ buffer posting from IO resources SGL/iocbq/context")
Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Link: https://lore.kernel.org/r/20240304090649.833953-1-usama.anjum@collabora.com
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Justin Tee <justintee8345@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/lpfc/lpfc_nvmet.c