scsi: smartpqi: Replace one-element arrays with flexible-array members
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | scsi: smartpqi: Replace one-element array with flexible-array memberdrivers/ drivers/ | +4 | 3 replies | |
| 2/3 | scsi: smartpqi: Replace one-element arrays with flexible-array membersdrivers/ | +2 | 1 reply | |
| 3/3 | scsi: smartpqi: Use struct_size() helper in pqi_report_phys_luns()drivers/ | +1 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Kees Cook |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3][next] scsi: smartpqi: Replace one-element arrays with flexible-array members
Hi!
This series aims to replace one-element arrays with flexible-array members in drivers/scsi/smartpqi/smartpqi.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 (3):
scsi: smartpqi: Replace one-element array with flexible-array member
scsi: smartpqi: Replace one-element arrays with flexible-array members
scsi: smartpqi: Use struct_size() helper in pqi_report_phys_luns()
drivers/scsi/smartpqi/smartpqi.h | 6 +++--- drivers/scsi/smartpqi/smartpqi_init.c | 12 ++++-------- 2 files changed, 7 insertions(+), 11 deletions(-)
Signature · 1 line
2.34.1