From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758630AbcFAPYq (ORCPT ); Wed, 1 Jun 2016 11:24:46 -0400 Received: from lists.s-osg.org ([54.187.51.154]:60045 "EHLO lists.s-osg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753115AbcFAPYp (ORCPT ); Wed, 1 Jun 2016 11:24:45 -0400 Subject: Re: [PATCH] kasan: change memory hot-add error messages to info messages To: Alexander Potapenko , aryabinin@virtuozzo.com References: <1464794430-5486-1-git-send-email-shuahkh@osg.samsung.com> Cc: Dmitriy Vyukov , kasan-dev , Linux Memory Management List , LKML , Shuah Khan From: Shuah Khan Message-ID: <574EFE3A.8030408@osg.samsung.com> Date: Wed, 1 Jun 2016 09:24:42 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/01/2016 09:22 AM, Alexander Potapenko wrote: > On Wed, Jun 1, 2016 at 5:20 PM, Shuah Khan wrote: >> 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 >> >> 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. Thanks. Fixing Andrey's address. I had a cut and paste error. Sorry. >> hotplug_memory_notifier(kasan_mem_notifier, 0); >> >> -- >> 2.7.4 >> > > >