summaryrefslogtreecommitdiff
path: root/net/can
diff options
context:
space:
mode:
authorPatrick Menschel <menschel.p@posteo.de>2021-04-27 05:21:48 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2021-05-27 09:42:21 +0200
commit6a5ddae578842652719fb926b22f1d510fe50bee (patch)
tree69c7db61ff31301ea91c1bb53aaf39954759a5b7 /net/can
parent46d8657a6b284e32b6b3bf1a6c93ee507fdd3cdb (diff)
can: isotp: add symbolic error message to isotp_module_init()
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>
Diffstat (limited to 'net/can')
-rw-r--r--net/can/isotp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/can/isotp.c b/net/can/isotp.c
index 2c4f84fac70a..2075d8d9e6b6 100644
--- 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;
}