scsi: aacraid: struct sgmap: Replace 1-element arrays with flexible arrays
Status from this message: Applied to 6.12/scsi-staging, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | scsi: aacraid: Rearrange order of struct aac_srb_unitdrivers/ | +1 | 0 replies | |
| 2/2 | scsi: aacraid: struct {user,}sgmap{,64,raw}: Replace 1-element arrays with flexible arraysdrivers/ drivers/ drivers/ +2 more | +23 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] scsi: aacraid: struct sgmap: Replace 1-element arrays with flexible arrays
Hi,
This replaces some of the last remaining uses in the kernel of 1-element "fake" flexible arrays with modern C99 flexible arrays. Some refactoring is done to ease this, and binary differences are identified. For the on stack size changes in patch 2, the "yes, that is the source of the binary differences" debugging patch can be found here[1].
Thanks!
-Kees
Kees Cook (2):
scsi: aacraid: Rearrange order of struct aac_srb_unit
scsi: aacraid: struct {user,}sgmap{,64,raw}: Replace 1-element arrays
with flexible arrays
drivers/scsi/aacraid/aachba.c | 26 ++++++++++++-------------- drivers/scsi/aacraid/aacraid.h | 17 ++++++----------- drivers/scsi/aacraid/commctrl.c | 4 ++-- drivers/scsi/aacraid/comminit.c | 3 +-- drivers/scsi/aacraid/commsup.c | 5 +++-- 5 files changed, 24 insertions(+), 31 deletions(-)
Signature · 1 line
2.34.1