media: venus: hfi_cmds: 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 | media: venus: hfi_cmds: Replace one-element array with flexible-array memberdrivers/ drivers/ | +7 | 2 replies | |
| 2/2 | media: venus: hfi_cmds: Use struct_size() helperdrivers/ | +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] media: venus: hfi_cmds: Replace one-element array with flexible-array member
Hi!
This series aims to replace one-element arrays with flexible-array members in struct hfi_session_set_buffers_pkt.
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):
media: venus: hfi_cmds: Replace one-element array with flexible-array
member
media: venus: hfi_cmds: Use struct_size() helper
drivers/media/platform/qcom/venus/hfi_cmds.c | 16 ++++++++-------- drivers/media/platform/qcom/venus/hfi_cmds.h | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-)
Signature · 1 line
2.34.1