Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp2855060rwo; Mon, 24 Jul 2023 02:14:41 -0700 (PDT) X-Google-Smtp-Source: APBJJlEFz28pJ2RcF+Swe5oAWWpL9ePWop2vsj+ENzgS9Rh1nlggVfW+PFS0g1HREVNk9AI0wd4z X-Received: by 2002:a17:90a:6ba4:b0:268:1dbf:95d7 with SMTP id w33-20020a17090a6ba400b002681dbf95d7mr1157163pjj.32.1690190081027; Mon, 24 Jul 2023 02:14:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690190081; cv=none; d=google.com; s=arc-20160816; b=rJh8Amqls4r4mH6VNXr379vfR0SuSrnAj5pBUbwNtl3nWClyTFErzqMZMxbY55NtHr mah+/Vd6mU/zj2tQ5UhEmOZqLZzPSZJ6D5fGhwMP+PxjnX0gtQA4avpNAMXPOEeCf99I JVWEqqxXY934jTuIGi9mZi/Y4SPsEV8dSotlx9yRCeTsUz2/o8CLBKoKKgnYBQxml1YG +EhsD6pgHsUGQQ/gZQ/jFIXZf8BTDWAmYsu/Yqo4JKyEyCRcnOBctA/d4Na1ePByo8yD NQj9h2NbK+M/4lCAtLJe68wViGadEpdAVDRjGsGWjF7nbNlzX8/OIxfS/uBmi9Pyw2Wq Vd6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=rZk122gUbC0/sCEgDNhNftdeyHn/ql+xoQ0owelD13w=; fh=Mghm+bW0B9OESqFNKPadh8LXhnp/fs8fo7OqbnLPfag=; b=T4gEriTYZkl7usG6Phln5lX91wh8kC+50K/D0qKFr8f4YpqFt6kRB1e0StN3l5ou0/ JSr3iMD/ybm8OQa18I1oAUhiRh6zPu87me9LuoH4AxdNKws8no6tntZAuHaU84txsz8N 5lmuR3rUBzjs5XhYpMAXDi40WTSDYqfV82XwyxIXv2WIUPVpTXosyFuAFpJTWd1fU/1V ZtYWH7q+jisMBD7wj9lNQCsXMAMO+YJvgfHHu/tafU5FSLNYHghvuALnV9RQbmuhe1xu rhqwPulno8hXz58BtGxW+II9/X/KQTG6Lbtvw52dMT9cf88OjANxZPJBzJXewciyQpzD rnhA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mi3-20020a17090b4b4300b00260f28b14e4si12363272pjb.4.2023.07.24.02.14.29; Mon, 24 Jul 2023 02:14:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231329AbjGXIid (ORCPT + 99 others); Mon, 24 Jul 2023 04:38:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231693AbjGXIiS (ORCPT ); Mon, 24 Jul 2023 04:38:18 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38279E63 for ; Mon, 24 Jul 2023 01:38:16 -0700 (PDT) Received: from moin.white.stw.pengutronix.de ([2a0a:edc0:0:b01:1d::7b] helo=bjornoya.blackshift.org) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qNr4k-0000Cb-FM; Mon, 24 Jul 2023 10:37:54 +0200 Received: from pengutronix.de (unknown [172.20.34.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mkl-all@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id 531031F839B; Mon, 24 Jul 2023 08:37:52 +0000 (UTC) Date: Mon, 24 Jul 2023 10:37:51 +0200 From: Marc Kleine-Budde To: Markus Schneider-Pargmann Cc: Wolfgang Grandegger , Rob Herring , Krzysztof Kozlowski , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Conor Dooley , Chandrasekar Ramakrishnan , Michal Kubiak , Vivek Yadav , linux-can@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Simon Horman Subject: Re: [PATCH v3 6/6] can: tcan4x5x: Add error messages in probe Message-ID: <20230724-switch-mulch-3ba56c15997e-mkl@pengutronix.de> References: <20230721135009.1120562-1-msp@baylibre.com> <20230721135009.1120562-7-msp@baylibre.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="47dlh53tks43qz2m" Content-Disposition: inline In-Reply-To: <20230721135009.1120562-7-msp@baylibre.com> X-SA-Exim-Connect-IP: 2a0a:edc0:0:b01:1d::7b X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --47dlh53tks43qz2m Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 21.07.2023 15:50:09, Markus Schneider-Pargmann wrote: > To be able to understand issues during probe easier, add error messages > if something fails. Can you print the error codes as "%pe", ERR_PTR(err)? Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung N=C3=BCrnberg | Phone: +49-5121-206917-129 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 | --47dlh53tks43qz2m Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEDs2BvajyNKlf9TJQvlAcSiqKBOgFAmS+OFwACgkQvlAcSiqK BOjakgf6A9YWvI4O+h3cneg50ebbmXekF1W+V+CO92LM4MNZ2Vlx3Iv6YrdxgAG/ f7UASQ3G9eBjJLQYnGHbYG5DMgR2p9Y8LGJB6cJQ3EiRcsVe7vRi71iUyRthiUTB jDgHJwBcTO8jeitILlFmOsrZMljTU5AzkSJG6eoRY4xK5p2GjlFULxr0h8TwxgXQ McZkpazS9fiijMLL5V63U5P3vpui2iSp1nDy3ZfDeRI71/egjLVj1EmZ5ILcY/cQ hthAmBCjEZ5hHS8lvllfRcP5zr/N2L9/OylrwTrPT1dsU6dVAQE7einaoUgSSvrU z4zth+g2cGEh5UXzTHg3iZ2aZPR0LA== =23ps -----END PGP SIGNATURE----- --47dlh53tks43qz2m--