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


Groups > linux.kernel > #1583134 > unrolled thread

[PATCH 08/35] sparc: Convert remaining use of pr_warning to pr_warn

Started byJoe Perches <joe@perches.com>
First post2017-02-17 08:20 +0100
Last post2017-02-17 16:30 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 08/35] sparc: Convert remaining use of pr_warning to pr_warn Joe Perches <joe@perches.com> - 2017-02-17 08:20 +0100
    Re: [PATCH 08/35] sparc: Convert remaining use of pr_warning to  pr_warn Sam Ravnborg <sam@ravnborg.org> - 2017-02-17 09:50 +0100
    Re: [PATCH 08/35] sparc: Convert remaining use of pr_warning to  pr_warn David Miller <davem@davemloft.net> - 2017-02-17 16:30 +0100

#1583134 — [PATCH 08/35] sparc: Convert remaining use of pr_warning to pr_warn

FromJoe Perches <joe@perches.com>
Date2017-02-17 08:20 +0100
Subject[PATCH 08/35] sparc: Convert remaining use of pr_warning to pr_warn
Message-ID<tbKZI-176-35@gated-at.bofh.it>
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@perches.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);
 	}
 	if (rc < 0)
 		rc = pcpu_page_first_chunk(PERCPU_MODULE_RESERVE,
-- 
2.10.0.rc2.1.g053435c

[toc] | [next] | [standalone]


#1583206 — Re: [PATCH 08/35] sparc: Convert remaining use of pr_warning to pr_warn

FromSam Ravnborg <sam@ravnborg.org>
Date2017-02-17 09:50 +0100
SubjectRe: [PATCH 08/35] sparc: Convert remaining use of pr_warning to pr_warn
Message-ID<tbMoN-1Y8-3@gated-at.bofh.it>
In reply to#1583134
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@perches.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@ravnborg.org>

[toc] | [prev] | [next] | [standalone]


#1583527 — Re: [PATCH 08/35] sparc: Convert remaining use of pr_warning to pr_warn

FromDavid Miller <davem@davemloft.net>
Date2017-02-17 16:30 +0100
SubjectRe: [PATCH 08/35] sparc: Convert remaining use of pr_warning to pr_warn
Message-ID<tbSDU-60B-13@gated-at.bofh.it>
In reply to#1583134
From: Joe Perches <joe@perches.com>
Date: Thu, 16 Feb 2017 23:11:21 -0800

> 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@perches.com>

Acked-by: David S. Miller <davem@davemloft.net>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web