2 _spin_unlock(int name
);
20 _spin_unlock(mylock2
);
29 * check-name: Smatch locking #1
30 * check-command: smatch --project=kernel --spammy sm_locking.c
33 sm_locking.c:26 func() warn: 'spin_lock:mylock3' is sometimes locked here and sometimes unlocked.
34 sm_locking.c:26 func() warn: inconsistent returns 'spin_lock:mylock2'.