diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2013-01-11 09:01:39 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-12 00:44:10 (GMT) |
commit | 955e7da82d8cc917a2c604c782b525dec3466921 (patch) | |
tree | e213d81f73c31d7883b9058b93ddf1572dd79a22 /net/irda/irnet | |
parent | ccbdccd4a7981c150a882123a577c11b2e808051 (diff) | |
download | linux-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 'net/irda/irnet')
0 files changed, 0 insertions, 0 deletions