aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/zram/zram_drv.c
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2013-01-11 13:01:39 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-11 16:44:10 -0800
commit955e7da82d8cc917a2c604c782b525dec3466921 (patch)
treee213d81f73c31d7883b9058b93ddf1572dd79a22 /drivers/staging/zram/zram_drv.c
parentStaging: bcm: add a missing break statement (diff)
downloadlinux-dev-955e7da82d8cc917a2c604c782b525dec3466921.tar.xz
linux-dev-955e7da82d8cc917a2c604c782b525dec3466921.zip
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 <khoroshilov@ispras.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/zram/zram_drv.c')
0 files changed, 0 insertions, 0 deletions