diff options
author | Gustavo A. R. Silva <[email protected]> | 2023-02-02 19:32:00 -0600 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2023-02-13 18:52:56 +0200 |
commit | 7fcae8f7f8158d22e667ed55a40e6a1829cc55b0 (patch) | |
tree | 8fbeccd0ec1e6887cbcd1e26314e34b8f8e7a194 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 552ac55ee9bc8a30edc87c284a4562ce703f972b (diff) |
wifi: mwifiex: Replace one-element arrays with flexible-array members
One-element arrays are deprecated, and we are replacing them with flexible
array members instead. So, replace one-element arrays with flexible-array
members in multiple structures.
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].
This results in no differences in binary output.
Link: https://github.com/KSPP/linux/issues/79
Link: https://github.com/KSPP/linux/issues/256
Link: https://gcc.gnu.org/pipermail/gcc-patches/2022-October/602902.html [1]
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/Y9xkECG3uTZ6T1dN@work
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions