wifi: brcmfmac: common: Replace one-element array with flexible-array member
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | wifi: brcmfmac: replace one-element array with flexible-array member in struct brcmf_dload_data_ledrivers/ drivers/ | +3 | 2 replies | |
| 2/2 | wifi: brcmfmac: Use struct_size() in code ralated to struct brcmf_dload_data_ledrivers/ | +4 | 2 replies |
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] wifi: brcmfmac: common: Replace one-element array with flexible-array member
Hi!
This series aims to replace a one-element array with flexible-array member in drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h (in struct brcmf_dload_data_le) and use the struct_size() helper.
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):
wifi: brcmfmac: replace one-element array with flexible-array member
in struct brcmf_dload_data_le
wifi: brcmfmac: Use struct_size() in code ralated to struct
brcmf_dload_data_le
drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c | 7 ++++--- .../net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-)
Signature · 1 line
2.34.1