diff options
author | Nicolas Palix <npalix@diku.dk> | 2010-08-24 17:38:58 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-08-31 11:37:53 +0200 |
commit | e105007c1271243568d58c8a4285b19c8eea48d1 (patch) | |
tree | bbc640aea054a967e7d9674d408aa738ad6feecb /lib/kref.c | |
parent | 7703692ef8d6356c32fbe9665d8cbe5b040eec09 (diff) | |
download | op-kernel-dev-e105007c1271243568d58c8a4285b19c8eea48d1.zip op-kernel-dev-e105007c1271243568d58c8a4285b19c8eea48d1.tar.gz |
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 'lib/kref.c')
0 files changed, 0 insertions, 0 deletions