commit | 7f1e5c9d029284ba31112ac9639775f48dcf1fa8 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Wed Oct 29 09:07:30 2014 +0100 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:20:55 2020 +0200 |
tree | 2f4f7a6a2d317f55ec58b153fcb50085620fae9c | |
parent | 2f5fd258a7b28801861195788d1a5af2def2e039 [diff] |
USB: kobil_sct: fix non-atomic allocation in write path 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> [lizf: Backported to 3.4: adjust context] Signed-off-by: Zefan Li <lizefan@huawei.com>