Skip to content

scsi: smartpqi: Replace one-element arrays with flexible-array members

Gustavo A. R. Silva linux-hardening linux-scsi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3scsi: smartpqi: Replace one-element array with flexible-array memberdrivers/scsi/smartpqi/smartpqi.h drivers/scsi/smartpqi/smartpqi_init.c+4 -83 replies
2/3scsi: smartpqi: Replace one-element arrays with flexible-array membersdrivers/scsi/smartpqi/smartpqi.h+2 -21 reply
3/3scsi: smartpqi: Use struct_size() helper in pqi_report_phys_luns()drivers/scsi/smartpqi/smartpqi_init.c+1 -11 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchKees Cook
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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