mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Gustavo A. R. Silva" <gustavo@embeddedor.com>
To: "Martin K. Petersen" <martin.petersen@oracle.com>,
	"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>,
	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: Tue, 12 Aug 2025 22:52:48 +0900	[thread overview]
Message-ID: <c7ffab41-97ed-49d8-966c-ac83d52266bf@embeddedor.com> (raw)
In-Reply-To: <yq1y0s5gicq.fsf@ca-mkp.ca.oracle.com>

Hi Martin,

On 31/07/25 12:17, Martin K. Petersen wrote:
> 
> 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.
> 

The helper is already out in -rc1. :)

Thanks!
-Gustavo

      reply	other threads:[~2025-08-12 13:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-30 22:54 Gustavo A. R. Silva
2025-07-31  3:17 ` Martin K. Petersen
2025-08-12 13:52   ` Gustavo A. R. Silva [this message]

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=c7ffab41-97ed-49d8-966c-ac83d52266bf@embeddedor.com \
    --to=gustavo@embeddedor.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=martin.petersen@oracle.com \
    --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 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®