From: Johan Hovold Date: Wed, 29 Oct 2014 08:07:30 +0000 (+0100) Subject: USB: kobil_sct: fix non-atomic allocation in write path X-Git-Tag: v3.2.65~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18c2ebcacbaabe061a808c1f0e3076bc8d626587;p=pandora-kernel.git 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 [bwh: Backported to 3.2: - s/interrupt_out_urb/write_urb/ - Adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed