projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
718efa6
)
USB: unnecessary GFP_ATOMIC in mos7720 driver
author
Oliver Neukum
<oliver@neukum.org>
Tue, 6 Mar 2007 15:21:22 +0000
(16:21 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 27 Apr 2007 20:28:34 +0000
(13:28 -0700)
GFP_KERNEL will do.
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/mos7720.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/serial/mos7720.c
b/drivers/usb/serial/mos7720.c
index 19bf403f9db2026dc8e20d7faea0a4eeba9ee970..4538dc3f3fff322cb485b6f50db70a4f817b2805 100644
(file)
--- a/
drivers/usb/serial/mos7720.c
+++ b/
drivers/usb/serial/mos7720.c
@@
-353,7
+353,7
@@
static int mos7720_open(struct usb_serial_port *port, struct file * filp)
/* Initialising the write urb pool */
for (j = 0; j < NUM_URBS; ++j) {
- urb = usb_alloc_urb(0,GFP_
ATOMIC
);
+ urb = usb_alloc_urb(0,GFP_
KERNEL
);
mos7720_port->write_urb_pool[j] = urb;
if (urb == NULL) {