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)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sun, 10 Mar 2024 22:16:58 +0000 (18:16 -0400)
commit28d41991182c210ec1654f8af2e140ef4cc73f20
treea49abd6e3b455a26c71660777c9e563f0d947381
parent0822853d658bbfa93bb16716ab10819788ad0550
scsi: lpfc: Correct size for wqe for memset()

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>
drivers/scsi/lpfc/lpfc_nvmet.c