diff options
| author | Paul Kocialkowski <paul.kocialkowski@bootlin.com> | 2022-12-08 15:20:04 +0100 |
|---|---|---|
| committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2022-12-12 11:36:01 +0100 |
| commit | 002886582094ece41a0cf0d84b28e08db9a8e24c (patch) | |
| tree | 7d8f5052b8f77b5d1a68ed0179235b37adae62dd /tools/perf/scripts/python/task-analyzer.py | |
| parent | media: sun6i-isp: proc: Declare subdev ops as static (diff) | |
| download | linux-002886582094ece41a0cf0d84b28e08db9a8e24c.tar.gz linux-002886582094ece41a0cf0d84b28e08db9a8e24c.zip | |
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 <paul.kocialkowski@bootlin.com>
Fixes: e3185e1d7c14 ("media: staging: media: Add support for the Allwinner A31 ISP")
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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
