git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
731738e
)
USB: kobil_sct: fix non-atomic allocation in write path
author
Johan Hovold
<johan@kernel.org>
Wed, 29 Oct 2014 08:07:30 +0000
(09:07 +0100)
committer
Ben Hutchings
<ben@decadent.org.uk>
Sun, 14 Dec 2014 16:23:54 +0000
(16:23 +0000)
commit
191252837626fca0de694c18bb2aa64c118eda89
upstream.
Write may be called from interrupt context so make sure to use
GFP_ATOMIC for all allocations in write.
Fixes:
1da177e4c3f4
("Linux-2.6.12-rc2")
Signed-off-by: Johan Hovold <johan@kernel.org>
[bwh: Backported to 3.2:
- s/interrupt_out_urb/write_urb/
- Adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/serial/kobil_sct.c
patch
|
blob
|
history
diff --cc
drivers/usb/serial/kobil_sct.c
Simple merge