projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bff1004
)
can: raw: raw_module_init(): use pr_err() instead of printk(KERN_ERR, ...)
author
Marc Kleine-Budde
<mkl@pengutronix.de>
Tue, 13 Aug 2019 07:07:14 +0000
(09:07 +0200)
committer
Marc Kleine-Budde
<mkl@pengutronix.de>
Tue, 13 Aug 2019 15:32:20 +0000
(17:32 +0200)
This patch converts a printk(KERN_ERR, ...) to a pr_err().
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
net/can/raw.c
patch
|
blob
|
history
diff --git
a/net/can/raw.c
b/net/can/raw.c
index
54517f9
..
a28b285
100644
(file)
--- a/
net/can/raw.c
+++ b/
net/can/raw.c
@@
-885,7
+885,7
@@
static __init int raw_module_init(void)
err = can_proto_register(&raw_can_proto);
if (err < 0)
- pr
intk(KERN_ERR
"can: registration of raw protocol failed\n");
+ pr
_err(
"can: registration of raw protocol failed\n");
return err;
}