OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46d8657
)
can: isotp: add symbolic error message to isotp_module_init()
author
Patrick Menschel
<menschel.p@posteo.de>
Tue, 27 Apr 2021 05:21:48 +0000
(
05:21
+0000)
committer
Marc Kleine-Budde
<mkl@pengutronix.de>
Thu, 27 May 2021 07:42:21 +0000
(09:42 +0200)
This patch adds the value of err with format %pe to the already
existing error message.
Link:
https://lore.kernel.org/r/20210427052150.2308-3-menschel.p@posteo.de
Signed-off-by: Patrick Menschel <menschel.p@posteo.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
net/can/isotp.c
patch
|
blob
|
history
diff --git
a/net/can/isotp.c
b/net/can/isotp.c
index
2c4f84f
..
2075d8d
100644
(file)
--- a/
net/can/isotp.c
+++ b/
net/can/isotp.c
@@
-1433,7
+1433,7
@@
static __init int isotp_module_init(void)
err = can_proto_register(&isotp_can_proto);
if (err < 0)
- pr_err("can: registration of isotp protocol failed
\n"
);
+ pr_err("can: registration of isotp protocol failed
%pe\n", ERR_PTR(err)
);
return err;
}