test_bit: Add some more functions to test.
PATCH 1/1 test_bit: Add some more functions to test.
change_bit() and co. were missing.
__<function_name> were missing as well.
Signed-off-by Christophe JAILLET <[email protected]>
--- check_test_bit.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)
check_test_bit.c +11 -1
@@ -47,8 +47,18 @@ void check_test_bit(int id)add_function_hook ("test_bit" , &match_test_bit,NULL );add_function_hook ("variable_test_bit" , &match_test_bit,NULL ); +add_function_hook ("set_bit" , &match_test_bit,NULL );add_function_hook ("clear_bit" , &match_test_bit,NULL ); -add_function_hook ("test_and_clear_bit" , &match_test_bit,NULL ); +add_function_hook ("change_bit" , &match_test_bit,NULL ); +add_function_hook ("__set_bit" , &match_test_bit,NULL ); +add_function_hook ("__clear_bit" , &match_test_bit,NULL ); +add_function_hook ("__change_bit" , &match_test_bit,NULL ); +add_function_hook ("test_and_set_bit" , &match_test_bit,NULL ); +add_function_hook ("test_and_clear_bit" , &match_test_bit,NULL ); +add_function_hook ("test_and_change_bit" , &match_test_bit,NULL ); +add_function_hook ("__test_and_set_bit" , &match_test_bit,NULL ); +add_function_hook ("__test_and_clear_bit" , &match_test_bit,NULL ); +add_function_hook ("__test_and_change_bit" , &match_test_bit,NULL ); }
Signature · 1 line
2.34.1
Dan Carpenter
AppliedQuoted 5 lines · Christophe JAILLET
change_bit()and co. were missing.
__<function_name> were missing as well.Signed-off-by Christophe JAILLET <[email protected]>---
Thanks, Applied. Btw, I also applied the one you sent earlier "Report the correct function name that triggered the warning".
regards,
dan carpenter