uas: no gfp argument to uas_submit_urbs()
commitb36d83913ae55c7619ac80185fb707bc30fd41c5
authorOliver Neukum <oneukum@suse.com>
Tue, 3 Nov 2015 15:43:17 +0000 (3 16:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Dec 2015 22:29:21 +0000 (1 14:29 -0800)
tree9750f8f77887e538934029ad3af86d4da2a17066
parent764331940bed55a18132ac46bca5a4216090a06b
uas: no gfp argument to uas_submit_urbs()

This function must be called with a spinlock held.
Memory can be allocated only with GFP_ATOMIC. Passing
a gfp_t argument is a waste.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/uas.c