kasan: change memory hot-add error messages to info messages
authorShuah Khan <[email protected]>
Wed, 8 Jun 2016 22:33:45 +0000 (15:33 -0700)
committerLinus Torvalds <[email protected]>
Thu, 9 Jun 2016 21:23:11 +0000 (14:23 -0700)
Change the following memory hot-add error messages to info messages.
There is no need for these to be errors.

   kasan: WARNING: KASAN doesn't support memory hot-add
   kasan: Memory hot-add will be disabled

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Shuah Khan <[email protected]>
Acked-by: Andrey Ryabinin <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/kasan/kasan.c

index 18b6a2b8d183550daa6c3e64ae7ba50610ead79c..28439acda6ec60cdeb438448587db447971ade2d 100644 (file)
@@ -763,8 +763,8 @@ static int kasan_mem_notifier(struct notifier_block *nb,
 
 static int __init kasan_memhotplug_init(void)
 {
-       pr_err("WARNING: KASAN doesn't support memory hot-add\n");
-       pr_err("Memory hot-add will be disabled\n");
+       pr_info("WARNING: KASAN doesn't support memory hot-add\n");
+       pr_info("Memory hot-add will be disabled\n");
 
        hotplug_memory_notifier(kasan_mem_notifier, 0);