Skip to content

Commit

Permalink
can: isotp: add symbolic error message to isotp_module_init()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Patrick Menschel authored and Marc Kleine-Budde committed May 27, 2021
1 parent 46d8657 commit 6a5ddae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/can/isotp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6a5ddae

Please sign in to comment.