提交 91a4c272 编写于 作者: S Shuah Khan 提交者: Linus Torvalds

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.

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

Link: http://lkml.kernel.org/r/1464794430-5486-1-git-send-email-shuahkh@osg.samsung.comSigned-off-by: NShuah Khan <shuahkh@osg.samsung.com>
Acked-by: NAndrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 67961f9d
...@@ -763,8 +763,8 @@ static int kasan_mem_notifier(struct notifier_block *nb, ...@@ -763,8 +763,8 @@ static int kasan_mem_notifier(struct notifier_block *nb,
static int __init kasan_memhotplug_init(void) static int __init kasan_memhotplug_init(void)
{ {
pr_err("WARNING: KASAN doesn't support memory hot-add\n"); pr_info("WARNING: KASAN doesn't support memory hot-add\n");
pr_err("Memory hot-add will be disabled\n"); pr_info("Memory hot-add will be disabled\n");
hotplug_memory_notifier(kasan_mem_notifier, 0); hotplug_memory_notifier(kasan_mem_notifier, 0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册