commit | 043e3f834530e15e89c58c1b7af59cc646700134 | [log] [tgz] |
---|---|---|
author | Johan Hovold <jhovold@gmail.com> | Sat Nov 09 12:38:10 2013 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Nov 25 08:39:40 2013 -0800 |
tree | 14b3c7551844df5cdb030e4100a11ab96632ffcc | |
parent | 6f6485463aada1ec6a0f3db6a03eb8e393d6bb55 [diff] |
USB: serial: fix write memory-allocation flag Fix regression introduced by commit 818f60365a29 ("USB: serial: add memory flags to usb_serial_generic_write_start"), which incorrectly used GFP_KERNEL in write(), which must not not sleep. Reported-by: Dave Jones <davej@fedoraproject.org> Tested-by: Dave Jones <davej@fedoraproject.org> Cc: Dave Jones <davej@fedoraproject.org> Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>