From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Rosen Penev <rosenp@gmail.com>
Cc: linux-scsi@vger.kernel.org, Justin Tee <justin.tee@broadcom.com>,
Paul Ely <paul.ely@broadcom.com>,
"James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>,
linux-kernel@vger.kernel.org (open list)
Subject: Re: [PATCH] scsi: lpfc: turn lpfc_queue q_pgs into a flexible array
Date: Mon, 01 Jun 2026 21:47:50 -0400 [thread overview]
Message-ID: <yq18q8xaf2g.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <20260523050241.190239-1-rosenp@gmail.com> (Rosen Penev's message of "Fri, 22 May 2026 22:02:41 -0700")
Rosen,
> The q_pgs pointer was assigned to point at the trailing memory
> allocated past the struct. Convert it to a proper C99 flexible array
> member and use struct_size() for the allocation.
Applied to 7.2/scsi-staging, thanks!
--
Martin K. Petersen
next prev parent reply other threads:[~2026-06-02 1:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-23 5:02 [PATCH] scsi: lpfc: turn lpfc_queue q_pgs into a flexible array Rosen Penev
2026-05-26 20:13 ` Justin Tee
2026-06-02 1:47 ` Martin K. Petersen [this message]
2026-06-09 1:39 ` Martin K. Petersen
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=yq18q8xaf2g.fsf@ca-mkp.ca.oracle.com \
--to=martin.petersen@oracle.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=justin.tee@broadcom.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=paul.ely@broadcom.com \
--cc=rosenp@gmail.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