linux/kernel/kcsan
Mark Rutland 19dfdc05ff kcsan: Remove reporting indirection
Now that we have separate kcsan_report_*() functions, we can factor the
distinct logic for each of the report cases out of kcsan_report(). While
this means each case has to handle mutual exclusion independently, this
minimizes the conditionality of code and makes it easier to read, and
will permit passing distinct bits of information to print_report() in
future.

There should be no functional change as a result of this patch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
[ elver@google.com: retain comment about lockdep_off() ]
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
2021-05-18 10:58:15 -07:00
..
atomic.h kcsan: Add missing license and copyright headers 2021-03-08 14:27:43 -08:00
core.c kcsan: Distinguish kcsan_report() calls 2021-05-18 10:58:14 -07:00
debugfs.c kcsan: Fix debugfs initcall return type 2021-05-18 10:58:02 -07:00
encoding.h kcsan: Add missing license and copyright headers 2021-03-08 14:27:43 -08:00
kcsan_test.c kcsan: Fix printk format string 2021-04-22 14:36:03 +02:00
kcsan.h kcsan: Distinguish kcsan_report() calls 2021-05-18 10:58:14 -07:00
Makefile kcsan: Make test follow KUnit style recommendations 2021-03-08 14:27:43 -08:00
report.c kcsan: Remove reporting indirection 2021-05-18 10:58:15 -07:00
selftest.c kcsan: Add missing license and copyright headers 2021-03-08 14:27:43 -08:00