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)
commit966036fde60e6d96708815e0d495692ac352acf9
treec00f71ac54f72e044c40acc66e73cb5c8e75f66c
parentf06d186dbd294e9d436096747f34918b70b4f8f1
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