static DEFINE_RAW_SPINLOCK(report_lock);
-static void start_report(unsigned long *flags, bool sync)
+static void start_report(unsigned long *flags)
{
fail_non_kasan_kunit_test();
/* Respect the /proc/sys/kernel/traceoff_on_warning interface. */
if (unlikely(!report_enabled()))
return;
- start_report(&flags, true);
+ start_report(&flags);
__memset(&info, 0, sizeof(info));
info.type = type;
goto out;
}
- start_report(&irq_flags, true);
+ start_report(&irq_flags);
__memset(&info, 0, sizeof(info));
info.type = KASAN_REPORT_ACCESS;
if (unlikely(!report_enabled()))
return;
- start_report(&flags, false);
+ start_report(&flags);
pr_err("BUG: KASAN: invalid-access\n");
pr_err("Asynchronous fault: no details available\n");
pr_err("\n");