[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABPRKS-0v0bdsAp6aK80AQn80WRSGpF3SP9HtwH2wMPXoByJQw@mail.gmail.com>
Date: Fri, 1 Mar 2024 11:02:55 -0800
From: Justin Tee <justintee8345@...il.com>
To: Muhammad Usama Anjum <usama.anjum@...labora.com>
Cc: James Smart <james.smart@...adcom.com>, Dick Kennedy <dick.kennedy@...adcom.com>,
Justin Tee <justin.tee@...adcom.com>, "James E.J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>, Hannes Reinecke <hare@...e.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 wqe for memset
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
Powered by blists - more mailing lists