Re: [PATCH] scsi: lpfc: correct size for wqe for memset
From: Muhammad Usama Anjum
Date: Mon Mar 04 2024 - 03:52:31 EST
I'll send v2.
On 3/2/24 12:02 AM, Justin Tee wrote:
> Hi Muhammad,
>
>> - memset(wqe, 0, sizeof(union lpfc_wqe));
>> + memset(wqe, 0, sizeof(union lpfc_wqe128));
>
> How about instead memset(wqe, 0, sizeof(*wqe));
>
> Thanks,
> Justin
>
--
BR,
Muhammad Usama Anjum