From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: "Gustavo A. R. Silva" <gustavoars@kernel.org>
Cc: Chris Leech <cleech@redhat.com>,
Bryan Gurney <bgurney@redhat.com>,
Nilesh Javali <njavali@marvell.com>,
"James E.J. Bottomley" <James.Bottomley@hansenpartnership.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>,
GR-QLogic-Storage-Upstream@marvell.com,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-hardening@vger.kernel.org
Subject: Re: [PATCH][next] scsi: qla2xxx: Fix memcpy field-spanning write issue
Date: Wed, 30 Jul 2025 23:17:14 -0400 [thread overview]
Message-ID: <yq1y0s5gicq.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <aIqivJeq8kxRUX0N@kspp> (Gustavo A. R. Silva's message of "Wed, 30 Jul 2025 16:54:52 -0600")
Gustavo,
> +
> + /* Must be last --ends in a flexible-array member. */
> + TRAILING_OVERLAP(struct purex_item, default_item, iocb,
> + uint8_t __default_item_iocb[QLA_DEFAULT_PAYLOAD_SIZE];
> + );
> } scsi_qla_host_t;
Looks OK to me but will have to wait for TRAILING_OVERLAP() to land.
--
Martin K. Petersen
next prev parent reply other threads:[~2025-07-31 3:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-30 22:54 [PATCH][next] scsi: qla2xxx: Fix memcpy field-spanning write issue Gustavo A. R. Silva
2025-07-31 3:17 ` Martin K. Petersen [this message]
2025-08-12 13:52 ` Gustavo A. R. Silva
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=yq1y0s5gicq.fsf@ca-mkp.ca.oracle.com \
--to=martin.petersen@oracle.com \
--cc=GR-QLogic-Storage-Upstream@marvell.com \
--cc=James.Bottomley@hansenpartnership.com \
--cc=bgurney@redhat.com \
--cc=cleech@redhat.com \
--cc=gustavoars@kernel.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=njavali@marvell.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.