staging: vt6656: replace GFP_ATOMIC with GFP_KERNEL for urb allocation
authorAlison Schofield <amsfield22@gmail.com>
Fri, 12 Feb 2016 18:05:01 +0000 (10:05 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Feb 2016 00:25:38 +0000 (16:25 -0800)
commit3e0f86b337090ec9040b68e398a85be00ddee4bc
treeb0d5e3616a42499c51075d6ad225a791e57db57b
parent61abd03a3dba2f6a73c06930075935683b474fa8
staging: vt6656: replace GFP_ATOMIC with GFP_KERNEL for urb allocation

Replace GFP_ATOMIC with GFP_KERNEL during urb buffer allocation.
This makes vnt_alloc_bufs() consistent in setting GFP_KERNEL during
kmalloc() and usb_alloc_urb(). GFP_KERNEL is safe because we are in
process context, not in an interrupt handler, nor holding any spinlock.

Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/main_usb.c
This page took 0.024627 seconds and 5 git commands to generate.