Powered by Linux
[PATCH] test_bit: Add some more functions to test. — Semantic Matching Tool

[PATCH] test_bit: Add some more functions to test.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



change_bit() and co. were missing.
__<function_name> were missing as well.

Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
---
 check_test_bit.c | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/check_test_bit.c b/check_test_bit.c
index b09139aa89bb..71f7aed06c08 100644
--- a/check_test_bit.c
+++ b/check_test_bit.c
@@ -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);
 }
-- 
2.34.1




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux