diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-05-23 08:02:41 +0300 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2026-06-02 04:46:50 +0300 |
| commit | 056fca1f276fa41792838d5eb88e316dd81c982d (patch) | |
| tree | ff6fd46f36defb22163d3dc86a57aba3e5917217 /scripts/const_structs.checkpatch | |
| parent | 06a34d9c1f47b923bb554de25406a5251b047379 (diff) | |
| download | linux-056fca1f276fa41792838d5eb88e316dd81c982d.tar.xz | |
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/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
