summaryrefslogtreecommitdiff
path: root/drivers/staging/zram
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2013-01-11 09:01:39 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-12 00:44:10 (GMT)
commit955e7da82d8cc917a2c604c782b525dec3466921 (patch)
treee213d81f73c31d7883b9058b93ddf1572dd79a22 /drivers/staging/zram
parentccbdccd4a7981c150a882123a577c11b2e808051 (diff)
downloadlinux-fsl-qoriq-955e7da82d8cc917a2c604c782b525dec3466921.tar.xz
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')
0 files changed, 0 insertions, 0 deletions