]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
IB/qib: Use GFP_ATOMIC when locks are held
authorJulia Lawall <julia.lawall@lip6.fr>
Mon, 9 Jan 2012 09:40:47 +0000 (10:40 +0100)
committerRoland Dreier <roland@purestorage.com>
Fri, 27 Jan 2012 17:59:22 +0000 (09:59 -0800)
commit0f3696eb21ef39b7bb7ea7d0160e925904309281
treec4bc55d49e5d63554cbed012a19124331a764db1
parentdcd6c92267155e70a94b3927bce681ce74b80d1f
IB/qib: Use GFP_ATOMIC when locks are held

alloc_dummy_hdrq() is called with locks held and thus should not use
GFP_KERNEL.

The semantic patch that makes this report is available in
scripts/coccinelle/locks/call_kern.cocci.

Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Acked-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/qib/qib_iba6120.c