diff options
| author | Paul Kocialkowski <[email protected]> | 2022-12-08 15:20:02 +0100 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2022-12-12 11:36:00 +0100 |
| commit | 5534ce51056d8774e5c0fe743934d8f07758b2f8 (patch) | |
| tree | 44f206da6c6e6ade793feb2b6a01152bbb981e56 /tools/perf/scripts/python/task-analyzer.py | |
| parent | f7f346862bbc1395763ed5e3eb050db67fc14abf (diff) | |
media: sun6i-isp: proc: 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: e3185e1d7c14 ("media: staging: media: Add support for the Allwinner A31 ISP")
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions