diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-05-22 22:02:41 -0700 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2026-06-01 21:46:50 -0400 |
| commit | 056fca1f276fa41792838d5eb88e316dd81c982d (patch) | |
| tree | ff6fd46f36defb22163d3dc86a57aba3e5917217 /scripts/sbom/git@git.tavy.me:linux-stable.git | |
| parent | 06a34d9c1f47b923bb554de25406a5251b047379 (diff) | |
scsi: lpfc: Turn lpfc_queue q_pgs into a flexible array
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.
Assisted-by: Claude:Opus-4.7
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Justin Tee <justin.tee@broadcom.com>
Link: https://patch.msgid.link/20260523050241.190239-1-rosenp@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/sbom/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
