From: Dan Williams Date: Thu, 8 May 2014 16:25:56 +0000 (+0300) Subject: usb: catch attempts to submit urbs with a vmalloc'd transfer buffer X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~34^2~179 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29d2fef8be1165a26984a94fbcf81d68c1442fc5;p=pandora-kernel.git 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 Cc: Sarah Sharp Cc: Mathias Nyman Signed-off-by: Dan Williams Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed