]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: gr_udc: unconditionally use GFP_ATOMIC in gr_queue_ext()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Wed, 7 May 2014 20:26:52 +0000 (00:26 +0400)
committerFelipe Balbi <balbi@ti.com>
Wed, 14 May 2014 14:23:30 +0000 (09:23 -0500)
commit2eb9b1746c03183f58010fbf8cfcd2aa9cb8a331
treec00f71ac54f72e044c40acc66e73cb5c8e75f66c
parentfb69e0dfb12542007e79199ea465e9e34af9ccd7
usb: gadget: gr_udc: unconditionally use GFP_ATOMIC in gr_queue_ext()

As far as gr_queue() is called with spinlock held,
we have to pass GFP_ATOMIC regardless of gfp argument.

Found by Linux Driver Verification project (linuxtesting.org).

Acked-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/gr_udc.c