scsi: aacraid: Replace one-element arrays with flexible-array members
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 14 repliesIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
9 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Kees Cook |
|---|---|
| 1/10 | R-b |
| 2/10 | R-b |
| 3/10 | R-b |
| 4/10 | R-b |
| 5/10 | R-b |
| 6/10 | R-b |
| 7/10 | R-b |
| 8/10 | |
| 9/10 | R-b |
| 10/10 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/10][next] scsi: aacraid: Replace one-element arrays with flexible-array members
This series aims to replace one-element arrays with flexible-array members in multiple structures in drivers/scsi/aacraid/aacraid.h.
This helps with the ongoing efforts to globally enable -Warray-bounds and get us closer to being able to tighten the FORTIFY_SOURCE routines on memcpy().
These issues were found with the help of Coccinelle and audited and fixed, manually.
Gustavo A. R. Silva (10):
scsi: aacraid: Replace one-element array with flexible-array member
scsi: aacraid: Use struct_size() helper in aac_get_safw_ciss_luns()
scsi: aacraid: Replace one-element array with flexible-array member in
struct aac_aifcmd
scsi: aacraid: Replace one-element array with flexible-array member in
struct user_sgmapraw
scsi: aacraid: Replace one-element array with flexible-array member in
struct sgmapraw
scsi: aacraid: Use struct_size() helper in code related to struct
sgmapraw
scsi: aacraid: Replace one-element array with flexible-array member in
struct user_sgmap64
scsi: aacraid: Replace one-element array with flexible-array member in
struct sgmap
scsi: aacraid: Replace one-element array with flexible-array member in
struct sgmap64
scsi: aacraid: Replace one-element array with flexible-array member in
struct user_sgmap
drivers/scsi/aacraid/aachba.c | 42 +++++++++++++-------------------- drivers/scsi/aacraid/aacraid.h | 16 ++++++------- drivers/scsi/aacraid/commctrl.c | 6 ++--- drivers/scsi/aacraid/comminit.c | 3 +-- 4 files changed, 28 insertions(+), 39 deletions(-)
Signature · 1 line
2.34.1