diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2013-01-11 13:01:39 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-11 16:44:10 -0800 |
commit | 955e7da82d8cc917a2c604c782b525dec3466921 (patch) | |
tree | e213d81f73c31d7883b9058b93ddf1572dd79a22 /drivers/staging/zram/zram_drv.c | |
parent | Staging: bcm: add a missing break statement (diff) | |
download | linux-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