[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bceb2aab-7b8e-4b87-a3ac-b5f25505612a@collabora.com>
Date: Mon, 4 Mar 2024 13:44:54 +0500
From: Muhammad Usama Anjum <usama.anjum@...labora.com>
To: Justin Tee <justin.tee@...adcom.com>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: Muhammad Usama Anjum <usama.anjum@...labora.com>,
James Smart <james.smart@...adcom.com>,
Dick Kennedy <dick.kennedy@...adcom.com>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>, kernel@...labora.com,
kernel-janitors@...r.kernel.org, James Smart <jsmart2021@...il.com>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: lpfc: correct size for cmdwqe/rspwqe for memset
I'll send v2.
On 3/1/24 11:59 PM, Justin Tee wrote:
> Hi Muhammad,
>
> Agreed with Christophe's comment.
>
> memset(cmdwqe, 0, sizeof(*cmdwqe));
> memset(rspwqe, 0, sizeof(*rspwqe));
>
> Thanks,
> Justin
>
--
BR,
Muhammad Usama Anjum
Powered by blists - more mailing lists