diff options
author | Ricardo Ribalda <[email protected]> | 2024-06-06 13:16:35 +0000 |
---|---|---|
committer | Hans Verkuil <[email protected]> | 2024-06-15 10:49:21 +0200 |
commit | 461d6ee65d7cfbbf7ce1b9fdaaae041a5135f1cc (patch) | |
tree | b1ed001e0a3a570bfa358f9e6f289c7f64428080 /tools/perf/scripts/python | |
parent | abb7a73b687dc82202f0203a112ef435fb598aa6 (diff) |
media: dvb-frontend/mxl5xx: Refactor struct MBIN_FILE_T and MBIN_SEGMENT_T
Replace the older style one-element array with a flexible array member.
There does not seem to be any allocation for these structs in the code, so
no more code changes are required.
The following cocci warnings are fixed:
drivers/media/dvb-frontends/mxl5xx_defs.h:182:4-8: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays)
drivers/media/dvb-frontends/mxl5xx_defs.h:171:4-8: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays)
Signed-off-by: Ricardo Ribalda <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions