diff options
author | Ricardo Ribalda <ribalda@chromium.org> | 2024-01-28 16:13:56 +0000 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-02-05 14:29:35 +0100 |
commit | ee171dc5050212ea8677ed5cb777746cf00d72d9 (patch) | |
tree | 9603459cb3fb8650b0d97725e8cd895aa7c1726c /tools/perf/scripts/python | |
parent | 9b71021b2ea537632b01e51e3f003df24a637858 (diff) |
media: nxp: imx8-isi: Factor out a variable
gcc-11 seems to believe that the coeffs variable can be used
uninitialized. Refactor the code and remove the cscen variable to
convince gcc that we are doing a good job.
drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c:218:20: warning: 'coeffs' may be used uninitialized in this function [-Wmaybe-uninitialized]
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/20240128-gcc-11-warnings-v1-1-52bbdf492049@chromium.org
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions