projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
873bc6e
)
The memory allocation flag GFP_KERNEL is not permissible in an
author
Bernd Porr
<Bernd.Porr@f2s.com>
Thu, 11 Nov 2004 00:20:21 +0000
(
00:20
+0000)
committer
Bernd Porr
<Bernd.Porr@f2s.com>
Thu, 11 Nov 2004 00:20:21 +0000
(
00:20
+0000)
interrupt callback. It has to be GFP_ATOMIC. The submit_urb
function has been called with the wrong kernel kernel flag. It's
now GFP_ATOMIC. Thanks for the feedback from Dave Brownell.
include/linux/usb.h
patch
|
blob
|
history
diff --git
a/include/linux/usb.h
b/include/linux/usb.h
index b4a1d04d57d8ee8d2f50ca2594bcc25d0d3f95e3..331c2b25309ae9b99257ac8ee49135dd9c55c02e 100644
(file)
--- a/
include/linux/usb.h
+++ b/
include/linux/usb.h
@@
-32,7
+32,7
@@
#define PROBE_ERR_RETURN(x) NULL
#else
#define USB_ALLOC_URB(x) usb_alloc_urb(x,GFP_KERNEL)
-#define USB_SUBMIT_URB(x) usb_submit_urb(x,GFP_
KERNEL
)
+#define USB_SUBMIT_URB(x) usb_submit_urb(x,GFP_
ATOMIC
)
#define PROBE_ERR_RETURN(x) x
#endif