aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorPaul Kocialkowski <[email protected]>2022-12-08 15:20:04 +0100
committerMauro Carvalho Chehab <[email protected]>2022-12-14 18:12:31 +0000
commit7266eb7c5a52efe8dc19a34c45c0fc8e3c0e4137 (patch)
tree1aac50beb9460c757d3533a49e077c1d57d65391 /drivers/usb/cdns3/cdns3-debug.h
parent44723b8c4692566237321d658b482025bb0235f8 (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 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions