kernel/kernel/kcsan/report.c
.. .. @@ -630,8 +630,8 @@ 630 630 bool reported = value_change != KCSAN_VALUE_CHANGE_FALSE && 631 631 print_report(value_change, type, &ai, other_info); 632 632 633 - if (reported && panic_on_warn)634 - panic("panic_on_warn set ...\n");633 + if (reported)634 + check_panic_on_warn("KCSAN");635 635 636 636 release_report(&flags, other_info); 637 637 }