From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 96EC6241F4 for ; Mon, 6 Nov 2023 13:33:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="tZegRrhY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12227C433C7; Mon, 6 Nov 2023 13:33:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1699277618; bh=+u4AQJUqYfi+6Z/IwIf+Go3jbgnIJsbnMp+9T3DXicc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tZegRrhYhLb9KV7LowB73Y4Sdai2JeXmG2DME+h8fyzlmArKe94jyLJifeX2cAS5Z gens56mKUb48LAn0pxKy0gnpQXPk8qEx5m4KUYgPMUSdloM3vfCDYdi/PVHRoAYBdP SLz+zddmYEwxyoZmWtSfGg+0Gqo6vQmtvWHv6gSQ= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Patrick Menschel , Marc Kleine-Budde , Oliver Hartkopp Subject: [PATCH 5.10 79/95] can: isotp: add symbolic error message to isotp_module_init() Date: Mon, 6 Nov 2023 14:04:47 +0100 Message-ID: <20231106130307.602848917@linuxfoundation.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231106130304.678610325@linuxfoundation.org> References: <20231106130304.678610325@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Patrick Menschel commit 6a5ddae578842652719fb926b22f1d510fe50bee upstream 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 Signed-off-by: Oliver Hartkopp Signed-off-by: Greg Kroah-Hartman --- net/can/isotp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/net/can/isotp.c +++ b/net/can/isotp.c @@ -1550,7 +1550,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)); else register_netdevice_notifier(&canisotp_notifier);