Re: [PATCH] scsi: lpfc: turn lpfc_queue q_pgs into a flexible array
From: Martin K. Petersen
Date: Mon Jun 01 2026 - 21:49:58 EST
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