2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-17 01:34:00 +08:00
linux-next/scripts/coccinelle/locks
Nicolas Palix 54c056280e Coccinelle: Add locks/mini_lock.cocci
Find missing unlocks.  This semantic match considers the specific case
where the unlock is missing from an if branch, and there is a lock
before the if and an unlock after the if.  False positives are due to
cases where the if branch represents a case where the function is
supposed to exit with the lock held, or where there is some preceding
function call that releases the lock.

Signed-off-by: Nicolas Palix <npalix@diku.dk>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2010-08-31 11:37:53 +02:00
..
call_kern.cocci Coccinelle: Add locks/call_kern.cocci 2010-08-31 11:37:53 +02:00
double_lock.cocci Coccinelle: Add locks/double_lock.cocci 2010-08-31 11:37:53 +02:00
mini_lock.cocci Coccinelle: Add locks/mini_lock.cocci 2010-08-31 11:37:53 +02:00