summaryrefslogtreecommitdiff
path: root/scripts/coccinelle/locks/double_lock.cocci
diff options
context:
space:
mode:
authorNicolas Palix <npalix@diku.dk>2010-08-24 19:38:58 +0400
committerMichal Marek <mmarek@suse.cz>2010-08-31 13:37:53 +0400
commite105007c1271243568d58c8a4285b19c8eea48d1 (patch)
treebbc640aea054a967e7d9674d408aa738ad6feecb /scripts/coccinelle/locks/double_lock.cocci
parent7703692ef8d6356c32fbe9665d8cbe5b040eec09 (diff)
downloadlinux-e105007c1271243568d58c8a4285b19c8eea48d1.tar.xz
Coccinelle: Add locks/call_kern.cocci
Find functions that refer to GFP_KERNEL but are called with locks held. The proposed change of converting the GFP_KERNEL is not necessarily the correct one. It may be desired to unlock the lock, or to not call the function under the lock in the first place. Signed-off-by: Nicolas Palix <npalix@diku.dk> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/coccinelle/locks/double_lock.cocci')
0 files changed, 0 insertions, 0 deletions