From: Alexey Khoroshilov Date: Fri, 11 Jan 2013 09:01:39 +0000 (+0400) Subject: staging: ced1401: fix GFP_KERNEL in spinlock context X-Git-Tag: v3.9-rc1~127^2~476 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=955e7da82d8cc917a2c604c782b525dec3466921;p=pandora-kernel.git staging: ced1401: fix GFP_KERNEL in spinlock context Allowi() calls usb_submit_urb(pdx->pUrbCharIn, bInCallback ? GFP_ATOMIC : GFP_KERNEL) under spin_lock_irqsave(&pdx->charInLock, flags). That means it should use GFP_ATOMIC anyway. As soon as it is the only usage of bInCallback argument, the patch removes it at all. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed