linux-stable/drivers/staging
Mauro Carvalho Chehab fe440221ca media: atomisp: fix bad usage at error handling logic
[ Upstream commit fc0b582c85 ]

As warned by sparse:
	atomisp: drivers/staging/media/atomisp/pci/atomisp_acc.c:508 atomisp_acc_load_extensions() warn: iterator used outside loop: 'acc_fw'

The acc_fw interactor is used outside the loop, at the error handling
logic. On most cases, this is actually safe there, but, if
atomisp_css_set_acc_parameters() has an error, an attempt to use it
will pick an invalid value for acc_fw.

Reported-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 14:24:02 +02:00
..
android
axis-fifo
board
clocking-wizard
emxx_udc
fbtft staging: fbtft: fb_st7789v: reset display before initialization 2022-03-02 11:48:07 +01:00
fieldbus
fwserial
gdm724x staging: gdm724x: fix use after free in gdm_lte_rx() 2022-03-16 14:23:42 +01:00
greybus
gs_fpgaboot
iio staging:iio:adc:ad7280a: Fix handing of device address bit reversing. 2022-04-08 14:23:45 +02:00
ks7010
media media: atomisp: fix bad usage at error handling logic 2022-04-08 14:24:02 +02:00
most
mt7621-dma
mt7621-dts staging: mt7621-dts: fix GB-PC2 devicetree 2022-04-08 14:23:49 +02:00
mt7621-pci
netlogic
nvec
octeon
octeon-usb
olpc_dcon
pi433
qlge
r8188eu staging: r8188eu: fix endless loop in recv_func 2022-04-08 14:23:46 +02:00
ralink-gdma
rtl8192e
rtl8192u
rtl8712
rtl8723bs staging: rtl8723bs: Fix access-point mode deadlock 2022-03-16 14:23:42 +01:00
rts5208
sm750fb
unisys
vc04_services staging: vc04_services: Fix RCU dereference check 2022-02-23 12:03:17 +01:00
vme
vt6655
vt6656
wfx
wlan-ng
Kconfig
Makefile