summaryrefslogtreecommitdiffstats
path: root/Documentation/prctl
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-16 16:13:02 +0100
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-16 16:16:22 +0100
commit62de7d99dcfe5ceff0c40d27a819a2256c8dfc73 (patch)
tree84e6fe6f778dacaf4cc870d3b5cbddea82aec827 /Documentation/prctl
parent[media] usbtv: add video controls (diff)
downloadlinux-62de7d99dcfe5ceff0c40d27a819a2256c8dfc73.tar.xz
linux-62de7d99dcfe5ceff0c40d27a819a2256c8dfc73.zip
[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: c53a846c48f2 ("[media] usbtv: add video controls") Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/prctl')
0 files changed, 0 insertions, 0 deletions