Skip to contentSkip to conversation

kasan: change memory hot-add error messages to info messages

PATCH New [email protected] 1 participant 1 message Jun 8, 2016

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

PATCH 2/7 kasan: change memory hot-add error messages to info messages

From: Shuah Khan <[email protected]>
Subject: kasan: change memory hot-add error messages to info messages

Change the following memory hot-add error messages to info messages. There is no need for these to be errors.

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

---

 mm/kasan/kasan.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
mm/kasan/kasan.c renamed from mm/kasan/kasan.c~kasan-change-memory-hot-add-error-messages-to-info-messages +2 -2
diff -puN mm/kasan/kasan.c~kasan-change-memory-hot-add-error-messages-to-info-messages mm/kasan/kasan.c
@@ -763,8 +763,8 @@ static int kasan_mem_notifier(struct not
 
 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);
 

_