From: Patrick Menschel Date: Tue, 27 Apr 2021 05:21:48 +0000 (+0000) Subject: can: isotp: add symbolic error message to isotp_module_init() X-Git-Tag: io_uring-5.14-2021-07-09~10^2~450^2~14 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=6a5ddae578842652719fb926b22f1d510fe50bee;p=linux-block.git 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 Signed-off-by: Marc Kleine-Budde --- 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; }