diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-03-06 10:12:32 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-03-10 13:37:45 -0300 |
commit | ad7220479244e92d7eba2ecc4b3f3e08312fc68f (patch) | |
tree | dd25992644f04efdb8ef5ed2c6b80bc15a0ff8d8 /include/linux/irqflags.h | |
parent | eef8fc374c131647ea9eea3301f06f4eee7f51ae (diff) |
[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 'include/linux/irqflags.h')
0 files changed, 0 insertions, 0 deletions