uas: fix deadlocky memory allocations
authorOliver Neukum <oneukum@suse.de>
Fri, 28 Mar 2014 10:25:50 +0000 (11:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Apr 2014 21:04:59 +0000 (14:04 -0700)
commit94d72f008909610710bb1841d665eeeb010a0be1
tree772ca72840bc75d3a33802a56fb4dcfc526d2951
parentc637f1fa7b0452b71eebd35d00906d371c04714e
uas: fix deadlocky memory allocations

There are also two allocations with GFP_KERNEL in the pre-/post_reset
code paths. That is no good because that is a part of the SCSI error handler.

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