hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
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 }