Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1583146
| From | Joe Perches <joe@perches.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 13/35] drivers/char: Convert remaining use of pr_warning to pr_warn |
| Date | 2017-02-17 08:20 +0100 |
| Message-ID | <tbKZJ-176-67@gated-at.bofh.it> (permalink) |
| References | <tbKZH-176-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[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
csiph-web