Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1411333 > unrolled thread

[PATCH] kasan: change memory hot-add error messages to info messages

Started byShuah Khan <shuahkh@osg.samsung.com>
First post2016-06-01 17:30 +0200
Last post2016-06-01 20:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] kasan: change memory hot-add error messages to info messages Shuah Khan <shuahkh@osg.samsung.com> - 2016-06-01 17:30 +0200
    Re: [PATCH] kasan: change memory hot-add error messages to info  messages Andrey Ryabinin <aryabinin@virtuozzo.com> - 2016-06-01 20:20 +0200

#1411333 — [PATCH] kasan: change memory hot-add error messages to info messages

FromShuah Khan <shuahkh@osg.samsung.com>
Date2016-06-01 17:30 +0200
Subject[PATCH] kasan: change memory hot-add error messages to info messages
Message-ID<rFgfL-1DF-3@gated-at.bofh.it>
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 <shuahkh@osg.samsung.com>
---
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");
 
 	hotplug_memory_notifier(kasan_mem_notifier, 0);
 
-- 
2.7.4

[toc] | [next] | [standalone]


#1411452 — Re: [PATCH] kasan: change memory hot-add error messages to info messages

FromAndrey Ryabinin <aryabinin@virtuozzo.com>
Date2016-06-01 20:20 +0200
SubjectRe: [PATCH] kasan: change memory hot-add error messages to info messages
Message-ID<rFiUi-3wl-21@gated-at.bofh.it>
In reply to#1411333

On 06/01/2016 06: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 <shuahkh@osg.samsung.com>

Acked-by: Andrey Ryabinin <aryabinin@virtuozzo.com>

> ---
> 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");
>  
>  	hotplug_memory_notifier(kasan_mem_notifier, 0);
>  
> 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web