projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71f3a4c
)
can: slcan: slcan_init() convert printk(LEVEL ...) to pr_level()
author
Marc Kleine-Budde
<mkl@pengutronix.de>
Sun, 3 Jul 2022 09:21:13 +0000
(11:21 +0200)
committer
Marc Kleine-Budde
<mkl@pengutronix.de>
Tue, 19 Jul 2022 18:30:14 +0000
(20:30 +0200)
Convert the last printk(LEVEL ...) to pr_level().
Link:
https://lore.kernel.org/all/20220704125954.1587880-3-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/slcan/slcan-core.c
patch
|
blob
|
history
diff --git
a/drivers/net/can/slcan/slcan-core.c
b/drivers/net/can/slcan/slcan-core.c
index
2d3bf15
..
ead3afe
100644
(file)
--- a/
drivers/net/can/slcan/slcan-core.c
+++ b/
drivers/net/can/slcan/slcan-core.c
@@
-1057,7
+1057,7
@@
static int __init slcan_init(void)
/* Fill in our line protocol discipline, and register it */
status = tty_register_ldisc(&slc_ldisc);
if (status) {
- pr
intk(KERN_ERR
"slcan: can't register line discipline\n");
+ pr
_err(
"slcan: can't register line discipline\n");
kfree(slcan_devs);
}
return status;