diff options
| author | Paul Kocialkowski <[email protected]> | 2022-12-08 15:19:56 +0100 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2022-12-12 11:36:00 +0100 |
| commit | f523c655325c3da085527804650708c7ab6730e3 (patch) | |
| tree | c66ee980d84e88862cf42c872f6f430a7bc0a47f /tools/perf/scripts/python | |
| parent | 3178804c64ef7c8c87a53cd5bba0b2942dd64fec (diff) | |
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 <[email protected]>
Fixes: 0d2b746b1bef ("media: sun6i-csi: Add bridge v4l2 subdev with port management")
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions