From: Muhammad Usama Anjum <usama.anjum@collabora.com>
To: Justin Tee <justintee8345@gmail.com>
Cc: Muhammad Usama Anjum <usama.anjum@collabora.com>,
James Smart <james.smart@broadcom.com>,
Dick Kennedy <dick.kennedy@broadcom.com>,
Justin Tee <justin.tee@broadcom.com>,
"James E.J. Bottomley" <jejb@linux.ibm.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>,
Hannes Reinecke <hare@suse.com>,
kernel@collabora.com, kernel-janitors@vger.kernel.org,
James Smart <jsmart2021@gmail.com>,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] scsi: lpfc: correct size for wqe for memset
Date: Mon, 4 Mar 2024 13:45:21 +0500 [thread overview]
Message-ID: <f9be0f59-acaa-4a37-ba66-4096112a15bb@collabora.com> (raw)
In-Reply-To: <CABPRKS-0v0bdsAp6aK80AQn80WRSGpF3SP9HtwH2wMPXoByJQw@mail.gmail.com>
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
next prev parent reply other threads:[~2024-03-04 8:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-01 14:44 Muhammad Usama Anjum
2024-03-01 19:02 ` Justin Tee
2024-03-04 8:45 ` Muhammad Usama Anjum [this message]
2024-03-04 10:19 ` AngeloGioacchino Del Regno
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f9be0f59-acaa-4a37-ba66-4096112a15bb@collabora.com \
--to=usama.anjum@collabora.com \
--cc=dick.kennedy@broadcom.com \
--cc=hare@suse.com \
--cc=james.smart@broadcom.com \
--cc=jejb@linux.ibm.com \
--cc=jsmart2021@gmail.com \
--cc=justin.tee@broadcom.com \
--cc=justintee8345@gmail.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=kernel@collabora.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®