]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4a9443eeb97e022370d6563930b28d582367a89f
tree772ca72840bc75d3a33802a56fb4dcfc526d2951
parentb147264c157984ae0e33432ba4b0632f572b9b54
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