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


Groups > linux.kernel > #1583146 > unrolled thread

[PATCH 13/35] drivers/char: 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 09:00 +0100
Articles 2 — 2 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 13/35] drivers/char: Convert remaining use of pr_warning to pr_warn Joe Perches <joe@perches.com> - 2017-02-17 08:20 +0100
    Re: [PATCH 13/35] drivers/char: Convert remaining use of pr_warning  to pr_warn Amit Shah <amit@kernel.org> - 2017-02-17 09:00 +0100

#1583146 — [PATCH 13/35] drivers/char: Convert remaining use of pr_warning to pr_warn

FromJoe Perches <joe@perches.com>
Date2017-02-17 08:20 +0100
Subject[PATCH 13/35] drivers/char: Convert remaining use of pr_warning to pr_warn
Message-ID<tbKZJ-176-67@gated-at.bofh.it>
To enable eventual removal of pr_warning

This makes pr_warn use consistent for drivers/char

Prior to this patch, there were 1 use of pr_warning and
40 uses of pr_warn in drivers/char

Signed-off-by: Joe Perches <joe@perches.com>
---
 drivers/char/virtio_console.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c
index 17857beb4892..96002610b845 100644
--- a/drivers/char/virtio_console.c
+++ b/drivers/char/virtio_console.c
@@ -2294,7 +2294,7 @@ static int __init init(void)
 
 	pdrvdata.debugfs_dir = debugfs_create_dir("virtio-ports", NULL);
 	if (!pdrvdata.debugfs_dir)
-		pr_warning("Error creating debugfs dir for virtio-ports\n");
+		pr_warn("Error creating debugfs dir for virtio-ports\n");
 	INIT_LIST_HEAD(&pdrvdata.consoles);
 	INIT_LIST_HEAD(&pdrvdata.portdevs);
 
-- 
2.10.0.rc2.1.g053435c

[toc] | [next] | [standalone]


#1583180 — Re: [PATCH 13/35] drivers/char: Convert remaining use of pr_warning to pr_warn

FromAmit Shah <amit@kernel.org>
Date2017-02-17 09:00 +0100
SubjectRe: [PATCH 13/35] drivers/char: Convert remaining use of pr_warning to pr_warn
Message-ID<tbLCq-1kS-41@gated-at.bofh.it>
In reply to#1583146
On (Thu) 16 Feb 2017 [23:11:26], Joe Perches wrote:
> To enable eventual removal of pr_warning
> 
> This makes pr_warn use consistent for drivers/char
> 
> Prior to this patch, there were 1 use of pr_warning and
> 40 uses of pr_warn in drivers/char
> 
> Signed-off-by: Joe Perches <joe@perches.com>

Reviewed-by: Amit Shah <amit@kernel.org>

Thanks,

		Amit
-- 
http://log.amitshah.net/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web