diff options
| author | Ricardo Ribalda <[email protected]> | 2024-05-27 21:08:55 +0000 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2024-05-31 13:51:16 +0200 |
| commit | 63916c3dec9b07f0a69a3c4a9722d7ec3ba9da23 (patch) | |
| tree | aa46095815b6772fbb698c9d6d61f8d07fc4bc11 /tools/perf/scripts/python/powerpc-hcalls.py | |
| parent | a93506f670de9fe57e40e18e32c84e73121bca55 (diff) | |
media: pci: cx18: Use flex arrays for struct cx18_scb
Replace the old-style single element array with a flexible array.
This structure does not seem to be allocated in the code, so there is no
need to change anything else.
The following cocci warning is fixed:
drivers/media/pci/cx18/cx18-scb.h:261:22-29: 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/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions