diff options
author | Paul Kocialkowski <paul.kocialkowski@bootlin.com> | 2022-12-08 17:19:56 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-12-14 21:12:31 +0300 |
commit | 7fabed7ae6185ef7f5967f3a2271c906ec6b7b7d (patch) | |
tree | e502bf2b834b16ebac44c3be7791992b992ba2d3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 73278d483378cf850ade923a1107a70297b2602a (diff) | |
download | linux-7fabed7ae6185ef7f5967f3a2271c906ec6b7b7d.tar.xz |
media: sun6i-csi: bridge: Error out on invalid port to fix warning
The enabled variable is only set for a valid port and used later,
which triggers an uninitialized use smatch warning. Explicitly error
out in that case to fix the warning.
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Fixes: 0d2b746b1bef ("media: sun6i-csi: Add bridge v4l2 subdev with port management")
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions