diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-03-06 14:12:32 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-03-10 17:37:45 +0100 |
commit | ad7220479244e92d7eba2ecc4b3f3e08312fc68f (patch) | |
tree | dd25992644f04efdb8ef5ed2c6b80bc15a0ff8d8 /mm/slob.c | |
parent | [media] mceusb: use %*ph for small buffer dumps (diff) | |
download | linux-ad7220479244e92d7eba2ecc4b3f3e08312fc68f.tar.xz linux-ad7220479244e92d7eba2ecc4b3f3e08312fc68f.zip |
[media] touptek: don't DMA at the stack
As warned by smatch:
drivers/media/usb/gspca/touptek.c:220 reg_w() error: doing dma on the stack (buff)
drivers/media/usb/gspca/touptek.c:458 configure() error: doing dma on the stack (buff)
This can fail, as the stack may not be in a memory that would
allod DMA. So, use the usb_buf instead.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'mm/slob.c')
0 files changed, 0 insertions, 0 deletions