Skip to content

Commit 2eec108

Browse files
JoePerchesgregkh
authored andcommitted
drivers/char: Convert remaining use of pr_warning to pr_warn
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 <[email protected]> Reviewed-by: Amit Shah <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent e447d4c commit 2eec108

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/char/virtio_console.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2302,7 +2302,7 @@ static int __init init(void)
23022302

23032303
pdrvdata.debugfs_dir = debugfs_create_dir("virtio-ports", NULL);
23042304
if (!pdrvdata.debugfs_dir)
2305-
pr_warning("Error creating debugfs dir for virtio-ports\n");
2305+
pr_warn("Error creating debugfs dir for virtio-ports\n");
23062306
INIT_LIST_HEAD(&pdrvdata.consoles);
23072307
INIT_LIST_HEAD(&pdrvdata.portdevs);
23082308

0 commit comments

Comments
 (0)