]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: mos7720: fix non-atomic allocation in write path
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Thu, 11 Aug 2016 22:05:08 +0000 (01:05 +0300)
committerJohan Hovold <johan@kernel.org>
Mon, 15 Aug 2016 08:37:04 +0000 (10:37 +0200)
commit34ce058a175b08c7c00213d94b535af805a4d66a
treec0233bc2c17ac3734bd9b4e752697796af4ad1ec
parent80390a6db25d4404b78e22d9973437c54e4a6b05
USB: serial: mos7720: fix non-atomic allocation in write path

There is an allocation with GFP_KERNEL flag in mos7720_write(),
while it may be called from interrupt context.

Follow-up for commit dca3aaaab899 ("USB: kobil_sct: fix non-atomic
allocation in write path")

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/mos7720.c