kcsan: Fold panic() call into print_report()
authorMark Rutland <mark.rutland@arm.com>
Wed, 14 Apr 2021 11:28:20 +0000 (13:28 +0200)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 18 May 2021 17:58:14 +0000 (10:58 -0700)
commit97aa6139e1b506795ab19941b1c3851042199788
treeca5f4e4cba90b0d383b39d48a73d6c517ecbec75
parent95f7524d7f0c6fddbc24fb623d61b7d508626f41
kcsan: Fold panic() call into print_report()

So that we can add more callers of print_report(), lets fold the panic()
call into print_report() so the caller doesn't have to handle this
explicitly.

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

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/kcsan/report.c