linux/drivers/media/usb
Desnes Nunes daca6e22ac media: uvcvideo: Avoid variable shadowing in uvc_ctrl_cleanup_fh
commit f4da0de6b4 upstream.

This avoids a variable loop shadowing occurring between the local loop
iterating through the uvc_entity's controls and the global one going
through the pending async controls of the file handle.

Fixes: 10acb91013 ("media: uvcvideo: Increase/decrease the PM counter per IOCTL")
Cc: stable@vger.kernel.org
Signed-off-by: Desnes Nunes <desnesn@redhat.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans de Goede <hansg@kernel.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-10-19 16:37:21 +02:00
..
airspy media: usb: drop vb2_ops_wait_prepare/finish 2024-10-28 09:19:56 +01:00
as102 media: as102: avoid GFP_ATOMIC 2024-04-29 12:07:00 +01:00
au0828 treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
b2c2 media: b2c2: flexcop-usb: fix flexcop_usb_memory_req 2024-06-24 11:05:07 +02:00
cx231xx media: cx231xx: Remove vidioc_s_ctrl callback 2025-03-05 10:43:26 +01:00
dvb-usb media: cxusb: no longer judge rbuf when the write fails 2025-04-25 15:14:31 +02:00
dvb-usb-v2 media: dvb-usb-v2: Constify struct i2c_algorithm 2025-02-21 10:33:14 +01:00
em28xx media: usb: em28xx: use (t,l)/wxh format for rectangle 2025-04-30 08:16:06 +02:00
go7007 media: usb: drop vb2_ops_wait_prepare/finish 2024-10-28 09:19:56 +01:00
gspca media: gspca: Add bounds checking to firmware parser 2025-06-17 10:35:15 +02:00
hackrf media: usb: drop vb2_ops_wait_prepare/finish 2024-10-28 09:19:56 +01:00
hdpvr media: usb: hdpvr: use I2C core to handle only supported messages 2025-06-17 10:35:15 +02:00
msi2500 media updates for v6.13-rc1 2024-11-20 14:01:15 -08:00
pvrusb2 treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
pwc media: pwc: remove useless header files 2025-02-21 10:33:04 +01:00
s2255 treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
siano media: usb: siano: Fix allocation of urbs 2024-04-16 00:02:53 +02:00
stk1160 media: stk1160: use usb_alloc_noncoherent/usb_free_noncoherent() 2025-07-09 12:15:57 +02:00
ttusb-budget media: dvb-ttusb-budget: cleanup printk logic 2020-09-03 11:15:47 +02:00
ttusb-dec media: Convert from tasklet to BH workqueue 2024-06-21 08:57:09 +02:00
usbtv media: usbtv: Lock resolution while streaming 2025-06-17 10:35:14 +02:00
uvc media: uvcvideo: Avoid variable shadowing in uvc_ctrl_cleanup_fh 2025-10-19 16:37:21 +02:00
Kconfig media: tm6000: deprecate this driver 2022-08-29 16:43:00 +02:00
Makefile media: tm6000: deprecate this driver 2022-08-29 16:43:00 +02:00