From: Dan Carpenter Date: Fri, 20 Dec 2013 11:26:08 +0000 (+0300) Subject: kernel.silenced_functions: add some more "asm goto" functions X-Git-Tag: 1.60~450 X-Git-Url: https://repo.or.cz/w/smatch.git/commitdiff_plain/3747466a7187cbcc067c19b5bb84446a2de13e95 kernel.silenced_functions: add some more "asm goto" functions 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 --- diff --git a/smatch_data/kernel.silenced_functions b/smatch_data/kernel.silenced_functions index ffa34af5..533e7bbc 100644 --- a/smatch_data/kernel.silenced_functions +++ b/smatch_data/kernel.silenced_functions @@ -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