[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170217083941.GA8078@ravnborg.org>
Date: Fri, 17 Feb 2017 09:39:41 +0100
From: Sam Ravnborg <sam@...nborg.org>
To: Joe Perches <joe@...ches.com>
Cc: linux-kernel@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>, sparclinux@...r.kernel.org
Subject: Re: [PATCH 08/35] sparc: Convert remaining use of pr_warning to
pr_warn
On Thu, Feb 16, 2017 at 11:11:21PM -0800, Joe Perches wrote:
> To enable eventual removal of pr_warning
>
> This makes pr_warn use consistent for arch/sparc
>
> Prior to this patch, there was 1 use of pr_warning and
> 8 uses of pr_warn in arch/sparc
>
> Signed-off-by: Joe Perches <joe@...ches.com>
> ---
> arch/sparc/kernel/smp_64.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/arch/sparc/kernel/smp_64.c b/arch/sparc/kernel/smp_64.c
> index dcb12d9002e9..ca0f8faa79a9 100644
> --- a/arch/sparc/kernel/smp_64.c
> +++ b/arch/sparc/kernel/smp_64.c
> @@ -1564,9 +1564,8 @@ void __init setup_per_cpu_areas(void)
> pcpu_alloc_bootmem,
> pcpu_free_bootmem);
> if (rc)
> - pr_warning("PERCPU: %s allocator failed (%d), "
> - "falling back to page size\n",
> - pcpu_fc_names[pcpu_chosen_fc], rc);
> + pr_warn("PERCPU: %s allocator failed (%d), falling back to page size\n",
> + pcpu_fc_names[pcpu_chosen_fc], rc);
Good to see that the string is now on one line.
Acked-by: Sam Ravnborg <sam@...nborg.org>
Powered by blists - more mailing lists