From: Oliver Neukum Date: Tue, 12 Jan 2010 11:32:50 +0000 (+0100) Subject: USB: Don't use GFP_KERNEL while we cannot reset a storage device X-Git-Tag: v2.6.33-rc5~7^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acbe2febe71abb2360b008e9ab3ee5c44169f78c;p=pandora-kernel.git USB: Don't use GFP_KERNEL while we cannot reset a storage device Memory allocations with GFP_KERNEL can cause IO to a storage device which can fail resulting in a need to reset the device. Therefore GFP_KERNEL cannot be safely used between usb_lock_device() and usb_unlock_device(). Replace by GFP_NOIO. Signed-off-by: Oliver Neukum Cc: stable Cc: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed