]> git.baikalelectronics.ru Git - 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)
commit9af4055a12cd5f510084af7b3aee3175e8a0607f
treec4bc55d49e5d63554cbed012a19124331a764db1
parent57972bb395c3c00f6301f502e045ce7bbcac7d49
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