Re: [PATCH] scsi: lpfc: turn lpfc_queue q_pgs into a flexible array

From: Martin K. Petersen

Date: Mon Jun 08 2026 - 21:39:46 EST


On Fri, 22 May 2026 22:02:41 -0700, Rosen Penev wrote:

> 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-queue, thanks!

[1/1] scsi: lpfc: turn lpfc_queue q_pgs into a flexible array
https://git.kernel.org/mkp/scsi/c/056fca1f276f

--
Martin K. Petersen