diff options
| author | Paul Kocialkowski <[email protected]> | 2022-12-08 15:20:04 +0100 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2022-12-12 11:36:01 +0100 |
| commit | 002886582094ece41a0cf0d84b28e08db9a8e24c (patch) | |
| tree | 7d8f5052b8f77b5d1a68ed0179235b37adae62dd /tools/perf/scripts/python | |
| parent | 618001e8b1c608413361883dac45c65c051ca335 (diff) | |
media: sun6i-isp: capture: Fix uninitialized variable use
While the stride_chroma variable was previously initialized to zero,
it's actually stride_chroma_div4 that is set to hardware registers.
Initialize it to zero instead to avoid an uninitialized variable use
and get rid of the associated smatch 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')
0 files changed, 0 insertions, 0 deletions