From: Alexey Khoroshilov Date: Fri, 9 Jan 2015 23:16:22 +0000 (+0300) Subject: usb/kaweth: use GFP_ATOMIC under spin_lock in usb_start_wait_urb() X-Git-Tag: fixes-v4.0-rc1~296^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49c9e7c21af4743f8413cfdce78b551b9d5caad9;p=pandora-kernel.git usb/kaweth: use GFP_ATOMIC under spin_lock in usb_start_wait_urb() Commit e4c7f259c5be ("USB: kaweth.c: use GFP_ATOMIC under spin_lock") makes sure that kaweth_internal_control_msg() allocates memory with GFP_ATOMIC, but kaweth_internal_control_msg() also calls usb_start_wait_urb() that still allocates memory with GFP_NOIO. The patch fixes usb_start_wait_urb() as well. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Acked-by: Oliver Neukum Signed-off-by: David S. Miller --- Reading git-diff-tree failed