linux_dsm_epyc7002/drivers/media/usb/usbtv
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
..
Kconfig [media] usbtv: Make it dependent on ALSA 2014-08-21 15:25:38 -05:00
Makefile [media] usbtv: add audio support 2014-08-21 15:25:34 -05:00
usbtv-audio.c [media] usb: constify snd_pcm_ops structures 2016-09-19 16:19:10 -03:00
usbtv-core.c [media] usbtv: clarify the licensing 2016-07-08 16:16:57 -03:00
usbtv-video.c [media] usbtv: don't do DMA on stack 2016-11-16 13:16:22 -02:00
usbtv.h [media] usbtv: add video controls 2016-11-16 13:06:18 -02:00