summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2017-04-26 03:56:12 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-17 13:20:53 +0300
commit614536dac7f33c64a58fab4767a325d52572a7d1 (patch)
treed79ddf1996c4389b65c84dc6b8a3c47e47edc508 /include/linux/debugobjects.h
parent4568136620c6482bcd4a6b0cd6ae8e5679615d7e (diff)
downloadlinux-614536dac7f33c64a58fab4767a325d52572a7d1.tar.xz
usb: udc: core: Error if req->buf is either from vmalloc or stack
Check that req->buf is a valid DMA capable address, produce a warning and return an error if it's either coming from vmalloc space or is an on stack buffer. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions