locking: handle class_mutex_destructor()
commit589e50eb40d7d098bc771b0223b0bad9882b99b1
authorDan Carpenter <dan.carpenter@linaro.org>
Wed, 1 Nov 2023 12:05:46 +0000 (1 15:05 +0300)
committerDan Carpenter <dan.carpenter@linaro.org>
Wed, 1 Nov 2023 12:05:46 +0000 (1 15:05 +0300)
tree833ac48ff8d4a8168633fa94ff5579a2cea50dc3
parentea3a3a1751597fecd0a069265b75568d1acefffe
locking: handle class_mutex_destructor()

I don't know how this passed my testing initially.  It should have been
"*$" instead of "$".

But here I've just created a custom function to parse it.  The trick is
that we pass &scope to class_mutex_destructor() but the lock we want is
what was assigned to "scope" (no ampersand).

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
check_locking.c