debug: change how __smatch_debug_check() works
commitea1227d90792d8e3d594e36f5ae6601313f2fc3c
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 8 Jan 2021 12:06:09 +0000 (8 15:06 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 8 Jan 2021 12:43:19 +0000 (8 15:43 +0300)
tree6d2a8a2297c7673c284d7eba002ac6b73274c1b4
parent2de1369fafaf9d790d81787266ca0e688058958b
debug: change how __smatch_debug_check() works

The main thing that this change does is it replaces the strcmp() with a
strstr() so you can say __smatch_debug_check("locking");

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
check_debug.c
smatch.c
smatch.h
smatch_extra.c
smatch_slist.c
smatch_states.c