diff options
author | Oliver Neukum <[email protected]> | 2010-01-12 12:32:50 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2010-01-20 15:24:34 -0800 |
commit | acbe2febe71abb2360b008e9ab3ee5c44169f78c (patch) | |
tree | 2952e2da8f32b918aaa27fd8ac00e04daa7787af /tools/perf/util/trace-event-scripting.c | |
parent | a91b593edd4b3e8aa91f671b763b27b8119eb49d (diff) |
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 <[email protected]>
Cc: stable <[email protected]>
Cc: Alan Stern <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions