tools headers UAPI: Sync openat2.h with the kernel sources
[linux-2.6-microblaze.git] / lib / test_kasan_module.c
index 3b4cc77..eee017f 100644 (file)
@@ -123,8 +123,9 @@ static noinline void __init kasan_workqueue_uaf(void)
 static int __init test_kasan_module_init(void)
 {
        /*
-        * Temporarily enable multi-shot mode. Otherwise, we'd only get a
-        * report for the first case.
+        * Temporarily enable multi-shot mode. Otherwise, KASAN would only
+        * report the first detected bug and panic the kernel if panic_on_warn
+        * is enabled.
         */
        bool multishot = kasan_save_enable_multi_shot();