]> git.karo-electronics.de Git - linux-beck.git/commit
USB: kobil_sct: fix non-atomic allocation in write path
authorJohan Hovold <johan@kernel.org>
Wed, 29 Oct 2014 08:07:30 +0000 (09:07 +0100)
committerJohan Hovold <johan@kernel.org>
Mon, 3 Nov 2014 08:07:28 +0000 (09:07 +0100)
commit191252837626fca0de694c18bb2aa64c118eda89
tree37de857f1a7bb2685006bdc4730076b91beb6473
parent0df1f2487d2f0d04703f142813d53615d62a1da4
USB: kobil_sct: fix non-atomic allocation in write path

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")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/kobil_sct.c