diff options
author | Ricardo Ribalda <[email protected]> | 2024-01-28 16:13:57 +0000 |
---|---|---|
committer | Hans Verkuil <[email protected]> | 2024-02-28 16:00:32 +0100 |
commit | c5b9b85a60652b89500bba1325070b6f838626f4 (patch) | |
tree | 8d104792b5ca6682baeec63f95871dc948d24c77 /tools/perf/util/trace-event-scripting.c | |
parent | 8796f3357f767da75b46fe9cc957546f458f4502 (diff) |
media: usb: s2255: Refactor s2255_get_fx2fw
Resize the buffer to the actual size needed and initialize it. With this
we can convince gcc-11 that the variable is not used uninitialized.
drivers/media/usb/s2255/s2255drv.c:1914:25: warning: 'transBuffer' may be used uninitialized [-Wmaybe-uninitialized]
Signed-off-by: Ricardo Ribalda <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions