Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp2871073rwo; Mon, 24 Jul 2023 02:35:25 -0700 (PDT) X-Google-Smtp-Source: APBJJlHVXqfBna+KpmnUeD8IhT8OgVaEUMoSG6Zvt+EV8MHNsPwkmjWYNHUp28q5tPeVIuacQI8C X-Received: by 2002:a05:6358:9213:b0:134:211:e2f5 with SMTP id d19-20020a056358921300b001340211e2f5mr3131388rwb.29.1690191324899; Mon, 24 Jul 2023 02:35:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690191324; cv=none; d=google.com; s=arc-20160816; b=hUZLkYWP4Gv2KUm1t5xksIuCG7VqtYBjSh1Pda1hy55+c20EY5gVb+mRpNn7mG0V+Z YaTYwUFOJ5oMPm7IdDXavhdJCWdFZND1PCq1DxJSYfvBUkN8MCN2E0hUYrM0qdy7yk3D sq3yqCDJGazwKOx9r5yENshE65KCI47xOmoqxPLWlT2A+2NwYz1Bei6tY8pbj48Gd/5X b7n14d/qcmBwvNkoCnsJV+UVXBpKAvVccl6rigzCaqRMxgLBApiWumU1T8NjeICL/tnl 92qTpWvsRyROf9eF8imYuroi3pwrgMRk9vx2GzuJd8rw1kNYmN5pIDAkQbnaGx4F4QLH xvPA== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=MWiZQGtEoDd6vYkaCeUUHjlAedCnBQMw8cP5GB7UACs=; fh=h85+pxg93ndS9kQNDlDSGN23jSC/f8iqrrYt/ZzjqP8=; b=UNKuP0ghZdZgxZN1ZbPhJTl7PmzhSx7D6DO/vlr+wXsD/PQOsre69tY/FASQyt69zm m/ZqAx12Mzw+2P+JUijxmgMJjzc2wG1Z/Qx7i0UT9C0ZjlCJjhFuNlWBUhN3QcCx1mAy 19ZG7yZ0xihUnkHuMNJyMjEwzOg40JkU8BC87b2oI0AspQnkhtSFj9NuPjG+Pwo7o4y8 hk9v/pN0iTe7AHm3+4H+40UbShh9S3W9NCtigfHKrfbKD53vYVoZ9O6u1TeeHrVV7yav ZsyyoOLYghWaMA5dnFarCDfJZ2HzWpHWFRu4Z1OEM+Khp+Jg0dYJr01P0Sy2fuRJjAk4 QmKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=T9je4nDc; 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 b9-20020a63d809000000b0055baf9fc388si9152160pgh.860.2023.07.24.02.35.12; Mon, 24 Jul 2023 02:35:24 -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; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=T9je4nDc; 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 S232099AbjGXJGw (ORCPT + 99 others); Mon, 24 Jul 2023 05:06:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232079AbjGXJGt (ORCPT ); Mon, 24 Jul 2023 05:06:49 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4672F1A2 for ; Mon, 24 Jul 2023 02:06:46 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-4fb7589b187so5986381e87.1 for ; Mon, 24 Jul 2023 02:06:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1690189604; x=1690794404; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=MWiZQGtEoDd6vYkaCeUUHjlAedCnBQMw8cP5GB7UACs=; b=T9je4nDcYplTvk7qGBjMRHyCVdXOwnMahnWtLXKXhBoorgvTE/t5sdwcXUZiBncr6U bLqrke6vUMhkeBL6adwaYPqoRzfb7M6Vmm2/Vh7dlQ1lwqgr8m6WPZb0stCWt3q5jbE8 kAy1+N8x8aEiDHWJF1FclVDmfZFoksV7OJrap7krdYpWSmzBAMXKYX5S3W8OTJBQbgn6 aTvAktMm7eey+yYsXs1il/63EvZnlg70B6SD8LTUDdW4BMpChes/r/SzVm//lDlbBx8+ xUG5p+szFz5jJJ/VtJNOFrr0YzY4AnjQEB/M161fAMQJaXgS+XYKlJD+liV3ErxJrtGy whnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690189604; x=1690794404; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=MWiZQGtEoDd6vYkaCeUUHjlAedCnBQMw8cP5GB7UACs=; b=Gq6Cw6XWhQFyiM8LYoWqOh/PcB2aRW3qsQ5vt60Z2rvj8sJiXGgC6gO3iPVEtq8xml vXvAy5ypZo53XW4TiCt4v7kfw+VvK/4oxeNmpurPzi9RoC4of510d5PTb3uw9gmFX2iq GdGVWcWOj73eqnRjsEhYni6mBKuvsfsuaBzl3QzGbbfNKZAHNXt19oOeYffkJeDTm5gp V8fwC9nzPh6sqO+X90eQvLGUxfnOucj3jE6UlRDohmB8KaNv/6yeiqrHmp9V3DrnXYmu BVFDOxPUF2cOCqN5ZJH7oh6H/uo3qTQyxG+po99ZQwpOrxBRRvh9fDI0qNZqIIQXP1ce 5vxw== X-Gm-Message-State: ABy/qLY8Shw/el5mIQbJiOVuNm5Mopk3Nt2DiluIpFTwW4L9OEmCVNbn 6UGo2z3R91fFEB5+k1xQPw1mVw== X-Received: by 2002:a05:6512:ac2:b0:4f7:6a40:9fd7 with SMTP id n2-20020a0565120ac200b004f76a409fd7mr5296059lfu.47.1690189604320; Mon, 24 Jul 2023 02:06:44 -0700 (PDT) Received: from blmsp ([2001:4091:a247:82fa:b762:4f68:e1ed:5041]) by smtp.gmail.com with ESMTPSA id t18-20020aa7d4d2000000b0051de3c6c5e5sm5824932edr.94.2023.07.24.02.06.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jul 2023 02:06:43 -0700 (PDT) Date: Mon, 24 Jul 2023 11:06:42 +0200 From: Markus Schneider-Pargmann To: Marc Kleine-Budde 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: <20230724090642.o7qzib5onl53nmqc@blmsp> References: <20230721135009.1120562-1-msp@baylibre.com> <20230721135009.1120562-7-msp@baylibre.com> <20230724-switch-mulch-3ba56c15997e-mkl@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230724-switch-mulch-3ba56c15997e-mkl@pengutronix.de> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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 On Mon, Jul 24, 2023 at 10:37:51AM +0200, Marc Kleine-Budde wrote: > 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)? Yes, thank you, I will use that instead. Best, Markus > > Marc > > -- > Pengutronix e.K. | Marc Kleine-Budde | > Embedded Linux | https://www.pengutronix.de | > Vertretung Nürnberg | Phone: +49-5121-206917-129 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |