kernel.silenced_functions: add some more "asm goto" functions
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 20 Dec 2013 11:26:08 +0000 (20 14:26 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 20 Dec 2013 11:26:08 +0000 (20 14:26 +0300)
I don't know how to parse "asm goto" functions.  I don't know how to get
the information out of Sparse.  I could just target the macro we use in
the kernel.

But for now I have taken the lazy approach.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_data/kernel.silenced_functions

index ffa34af..533e7bb 100644 (file)
@@ -1,7 +1,11 @@
 /* Don't print anything from these functions */
 atomic_dec_and_test
+atomic_inc_and_test
+atomic64_dec_and_test
 atomic_sub_and_test
 test_and_clear_bit
 test_and_set_bit
 __copy_to_user_nocheck
 __copy_from_user_nocheck
+arch_static_branch
+__static_cpu_has