hc
2024-09-20 cf4ce59b3b70238352c7f1729f0f7223214828ad
kernel/kernel/kcsan/report.c
....@@ -630,8 +630,8 @@
630630 bool reported = value_change != KCSAN_VALUE_CHANGE_FALSE &&
631631 print_report(value_change, type, &ai, other_info);
632632
633
- if (reported && panic_on_warn)
634
- panic("panic_on_warn set ...\n");
633
+ if (reported)
634
+ check_panic_on_warn("KCSAN");
635635
636636 release_report(&flags, other_info);
637637 }