linux/drivers/media/usb
Mauro Carvalho Chehab 62de7d99dc [media] usbtv: don't do DMA on stack
As reported by smatch:
	drivers/media/usb/usbtv/usbtv-video.c:716 usbtv_s_ctrl() error: doing dma on the stack (data)
	drivers/media/usb/usbtv/usbtv-video.c:758 usbtv_s_ctrl() error: doing dma on the stack (data)

We should not do it, as it won't work on Kernels 4.9 and upper.
So, alloc a buffer for it.

Fixes: c53a846c48 ("[media] usbtv: add video controls")
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-11-16 13:16:22 -02:00
..
airspy [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
as102 media: usb: as102: as102_usb_drv: don't print error when allocating urb fails 2016-08-30 19:13:53 +02:00
au0828 [media] au0828: don't break long lines 2016-10-21 09:38:09 -02:00
b2c2 [media] b2c2: don't break long lines 2016-10-21 09:38:31 -02:00
cpia2 [media] cpia2: don't break long lines 2016-10-21 09:38:51 -02:00
cx231xx [media] cx231xx: don't break long lines 2016-10-21 09:39:15 -02:00
dvb-usb [media] Add Cinergy S2 rev.4 support 2016-10-24 18:33:11 -02:00
dvb-usb-v2 [media] dvb-usb-dvbsky: Add support for TechnoTrend S2-4650 CI 2016-10-24 17:14:25 -02:00
em28xx [media] em28xx: don't break long lines 2016-10-21 09:40:51 -02:00
go7007 [media] constify i2c_algorithm structures 2016-09-19 16:27:02 -03:00
gspca [media] stv06xx: store device name after the USB_DEVICE line 2016-10-24 07:17:20 -02:00
hackrf [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
hdpvr [media] hdpvr: don't break long lines 2016-10-21 09:42:04 -02:00
msi2500 [media] usb: constify vb2_ops structures 2016-09-19 16:20:35 -03:00
pvrusb2 [media] variable name is never null, so remove null check 2016-10-24 17:04:27 -02:00
pwc [media] pwc: don't break long lines 2016-10-21 09:52:08 -02:00
s2255 [media] s2255drv: don't use stack for DMA 2016-10-14 12:52:28 -03:00
siano [media] siano: don't break long lines 2016-10-21 09:52:50 -02:00
stk1160 [media] constify i2c_algorithm structures 2016-09-19 16:27:02 -03:00
stkwebcam [media] stkwebcam: don't break long lines 2016-10-21 09:53:16 -02:00
tm6000 [media] tm6000: don't break long lines 2016-10-21 09:53:59 -02:00
ttusb-budget [media] ttusb-budget: don't break long lines 2016-10-21 09:54:20 -02:00
ttusb-dec [media] ttusb-dec: don't break long lines 2016-10-21 09:54:45 -02:00
usbtv [media] usbtv: don't do DMA on stack 2016-11-16 13:16:22 -02:00
usbvision [media] usbvision: don't break long lines 2016-10-21 09:55:11 -02:00
uvc [media] uvcvideo: uvc_scan_fallback() for webcams with broken chain 2016-10-24 13:12:49 -02:00
zr364xx [media] zr364xx: don't break long lines 2016-10-21 09:55:35 -02:00
Kconfig [media] tlg2300: move to staging in preparation for removal 2014-12-16 23:21:43 -02:00
Makefile [media] tlg2300: move to staging in preparation for removal 2014-12-16 23:21:43 -02:00