Home
last modified time | relevance | path

Searched hist:"614536 dac7f33c64a58fab4767a325d52572a7d1" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/usb/gadget/udc/
H A Dcore.c614536dac7f33c64a58fab4767a325d52572a7d1 Wed Apr 26 00:56:12 UTC 2017 Florian Fainelli <f.fainelli@gmail.com> 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>