Replace one-element array with flexible-array member
Status from this message: Applied to 6.1/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: hptiop: Replace one-element array with flexible-array memberdrivers/ drivers/ | +2 | 1 reply | |
| 2/2 | scsi: hptiop: Use struct_size() helper in code related to struct hpt_iop_request_scsi_commanddrivers/ | +3 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Kees Cook |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2][next] Replace one-element array with flexible-array member
Hi!
This series aims to replace one-element arrays with flexible-array members in drivers/scsi/hptiop.h
This helps with the ongoing efforts to tighten the FORTIFY_SOURCE routines on memcpy() and help us make progress towards globally enabling -fstrict-flex-arrays=3 [1].
Gustavo A. R. Silva (2):
scsi: hptiop: Replace one-element array with flexible-array member
scsi: hptiop: Use struct_size() helper in code related to struct
hpt_iop_request_scsi_command
drivers/scsi/hptiop.c | 9 +++------ drivers/scsi/hptiop.h | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-)
Signature · 1 line
2.34.1