X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=lib%2Ftest_kasan_module.c;h=eee017ff8980529c1267347fabab0dd2e662df1f;hb=1e61463cfcd0b3e7a19ba36b8a98c64ebaac5c6e;hp=3b4cc77992d28564f2bd5d98c73e52175e4421e8;hpb=0ae20159e88fece0e5f1e71fe1e5a62427f73b41;p=linux-2.6-microblaze.git diff --git a/lib/test_kasan_module.c b/lib/test_kasan_module.c index 3b4cc77992d2..eee017ff8980 100644 --- a/lib/test_kasan_module.c +++ b/lib/test_kasan_module.c @@ -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();