]> git.baikalelectronics.ru Git - kernel.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)
commitdca3aaaab899476521f14e2f8021913f9e9f65b6
tree37de857f1a7bb2685006bdc4730076b91beb6473
parent07f3e0931c7df93ad87c2836ee1d7614860e3ab2
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