]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: lpfc: Correct size for cmdwqe/rspwqe for memset()
authorMuhammad Usama Anjum <usama.anjum@collabora.com>
Mon, 4 Mar 2024 09:11:19 +0000 (14:11 +0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2024 13:29:03 +0000 (15:29 +0200)
commitac5b18f528584edc5b40f704d730ce1cb309a9ae
treef2562f8ed4bfecc53e0a21253245fda730513fb5
parentff3cdff7c897e5cac4188aa87f1f43cb94f69294
scsi: lpfc: Correct size for cmdwqe/rspwqe for memset()

commit 16cc2ba71b9f6440805aef7f92ba0f031f79b765 upstream.

The cmdwqe and rspwqe are of type lpfc_wqe128. They should be memset() with
the same type.

Fixes: 61910d6a5243 ("scsi: lpfc: SLI path split: Refactor CT paths")
Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Link: https://lore.kernel.org/r/20240304091119.847060-1-usama.anjum@collabora.com
Reviewed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/lpfc/lpfc_bsg.c