Commit 6a5ddae5 authored by Patrick Menschel's avatar Patrick Menschel Committed by Marc Kleine-Budde

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.deSigned-off-by: default avatarPatrick Menschel <menschel.p@posteo.de>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 46d8657a
...@@ -1433,7 +1433,7 @@ static __init int isotp_module_init(void) ...@@ -1433,7 +1433,7 @@ static __init int isotp_module_init(void)
err = can_proto_register(&isotp_can_proto); err = can_proto_register(&isotp_can_proto);
if (err < 0) 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; return err;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment