projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46b72d7
)
USB: storage: onetouch: unnecessary GFP_ATOMIC
author
Oliver Neukum
<oliver@neukum.org>
Sat, 20 Feb 2010 01:03:19 +0000
(
02:03
+0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 2 Mar 2010 22:55:13 +0000
(14:55 -0800)
No need to use GFP_ATOMIC to allocate buffers.
Signed-off-by: Oliver Neukum <neukum@b1-systems.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/onetouch.c
patch
|
blob
|
history
diff --git
a/drivers/usb/storage/onetouch.c
b/drivers/usb/storage/onetouch.c
index
80e65f2
..
198bb3e
100644
(file)
--- a/
drivers/usb/storage/onetouch.c
+++ b/
drivers/usb/storage/onetouch.c
@@
-202,7
+202,7
@@
static int onetouch_connect_input(struct us_data *ss)
goto fail1;
onetouch->data = usb_buffer_alloc(udev, ONETOUCH_PKT_LEN,
- GFP_
ATOMIC
, &onetouch->data_dma);
+ GFP_
KERNEL
, &onetouch->data_dma);
if (!onetouch->data)
goto fail1;