diff options
| author | Dan Williams <[email protected]> | 2014-05-08 19:25:56 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-05-20 10:03:24 +0900 |
| commit | 29d2fef8be1165a26984a94fbcf81d68c1442fc5 (patch) | |
| tree | b16a13a26c04b099add552c7edb14d71a7db5da3 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 654a55d34f880bb56b3cebab53771a09a404a1f8 (diff) | |
usb: catch attempts to submit urbs with a vmalloc'd transfer buffer
Save someone else the debug cycles of figuring out why a driver's
transfer request is failing or causing undefined system behavior.
Buffers submitted for dma must come from GFP allocated / DMA-able
memory.
Return -EAGAIN matching the return value for dma_mapping_error() cases.
Acked-by: Alan Stern <[email protected]>
Cc: Sarah Sharp <[email protected]>
Cc: Mathias Nyman <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Signed-off-by: Mathias Nyman <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions