diff options
author | Gustavo A. R. Silva <[email protected]> | 2022-09-26 18:01:08 -0500 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2022-10-17 13:19:40 -0500 |
commit | 1e9dd807c609d1598fa56a1d65074a6eeb89f705 (patch) | |
tree | 877ab47a2bca967e1d66c7afa2e7ecf153345c04 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 5faeae4eac74685c3eda3e55bc3725a331ecd09d (diff) |
soc: qcom: smd-rpm: Replace zero-length array with DECLARE_FLEX_ARRAY() helper
Zero-length arrays are deprecated and we are moving towards adopting
C99 flexible-array members, instead. So, replace zero-length arrays
declarations in anonymous union with the new DECLARE_FLEX_ARRAY()
helper macro.
This helper allows for flexible-array members in unions.
Link: https://github.com/KSPP/linux/issues/193
Link: https://github.com/KSPP/linux/issues/224
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/YzIvNIyPhWaG2DTr@work
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions