Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1411317
| From | Alexander Potapenko <glider@google.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] kasan: change memory hot-add error messages to info messages |
| Date | 2016-06-01 17:30 +0200 |
| Message-ID | <rFgfL-1DF-1@gated-at.bofh.it> (permalink) |
| References | <rFgfL-1DF-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Jun 1, 2016 at 5:20 PM, Shuah Khan <shuahkh@osg.samsung.com> 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>
> ---
> 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ße, 33
80636 München
Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH] kasan: change memory hot-add error messages to info messages Alexander Potapenko <glider@google.com> - 2016-06-01 17:30 +0200 Re: [PATCH] kasan: change memory hot-add error messages to info messages Alexander Potapenko <glider@google.com> - 2016-06-01 17:30 +0200 Re: [PATCH] kasan: change memory hot-add error messages to info messages Shuah Khan <shuahkh@osg.samsung.com> - 2016-06-01 17:30 +0200
csiph-web