aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorRicardo Ribalda <[email protected]>2024-05-27 21:08:56 +0000
committerHans Verkuil <[email protected]>2024-05-31 13:51:16 +0200
commit6c69a73adf506080765d5dace6f4fcce8c6cda15 (patch)
tree1b9c7d0b220c93aa40da67124bfbb4ce17b7ef4f /tools/perf/scripts/python/sched-migration.py
parent63916c3dec9b07f0a69a3c4a9722d7ec3ba9da23 (diff)
media: siano: Refactor struct sms_msg_data
Replace a single element array with a single element field. The endianness conversion code seems to support multiple elements. To avoid changing behavior a pointer to the single element has been used. This is safer than moving to a flex array, because in that case the structure size changes. This fixes the following cocci warning: drivers/media/common/siano/smscoreapi.h:619:5-13: 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/sched-migration.py')
0 files changed, 0 insertions, 0 deletions