From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by kanga.kvack.org (Postfix) with ESMTP id 232FB6B0253 for ; Wed, 1 Jun 2016 11:25:32 -0400 (EDT) Received: by mail-lb0-f198.google.com with SMTP id rs7so11493702lbb.2 for ; Wed, 01 Jun 2016 08:25:32 -0700 (PDT) Received: from mail-lf0-x236.google.com (mail-lf0-x236.google.com. [2a00:1450:4010:c07::236]) by mx.google.com with ESMTPS id p65si24214221lfe.259.2016.06.01.08.25.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Jun 2016 08:25:30 -0700 (PDT) Received: by mail-lf0-x236.google.com with SMTP id s64so15383151lfe.0 for ; Wed, 01 Jun 2016 08:25:30 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1464794430-5486-1-git-send-email-shuahkh@osg.samsung.com> From: Alexander Potapenko Date: Wed, 1 Jun 2016 17:25:29 +0200 Message-ID: Subject: Re: [PATCH] kasan: change memory hot-add error messages to info messages Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: owner-linux-mm@kvack.org List-ID: To: Shuah Khan Cc: Andrey Ryabinin , Dmitriy Vyukov , kasan-dev , Linux Memory Management List , LKML s/ryabinin/aryabinin/ On Wed, Jun 1, 2016 at 5:22 PM, Alexander Potapenko wro= te: > On Wed, Jun 1, 2016 at 5:20 PM, Shuah Khan wrot= e: >> Change the following memory hot-add error messages to info messages. The= re >> 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 >> >> Signed-off-by: Shuah Khan >> --- >> Note: This is applicable to 4.6 stable releases. >> >> mm/kasan/kasan.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/mm/kasan/kasan.c b/mm/kasan/kasan.c >> index 18b6a2b..28439ac 100644 >> --- a/mm/kasan/kasan.c >> +++ b/mm/kasan/kasan.c >> @@ -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"); > No objections, but let's wait for Andrey. >> hotplug_memory_notifier(kasan_mem_notifier, 0); >> >> -- >> 2.7.4 >> > > > > -- > Alexander Potapenko > Software Engineer > > Google Germany GmbH > Erika-Mann-Stra=C3=9Fe, 33 > 80636 M=C3=BCnchen > > Gesch=C3=A4ftsf=C3=BChrer: Matthew Scott Sucherman, Paul Terence Manicle > Registergericht und -nummer: Hamburg, HRB 86891 > Sitz der Gesellschaft: Hamburg --=20 Alexander Potapenko Software Engineer Google Germany GmbH Erika-Mann-Stra=C3=9Fe, 33 80636 M=C3=BCnchen Gesch=C3=A4ftsf=C3=BChrer: Matthew Scott Sucherman, Paul Terence Manicle Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org