Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1164879rwr; Wed, 26 Apr 2023 10:53:54 -0700 (PDT) X-Google-Smtp-Source: AKy350awF9l6fVKFFeMaLxsuMjI+n/njv8EC/Mj3uuQtCksuQsE7zdM5/FBdFeJMRM8dqW/FqUkT X-Received: by 2002:a17:90a:d985:b0:247:193b:ce84 with SMTP id d5-20020a17090ad98500b00247193bce84mr21544747pjv.15.1682531634113; Wed, 26 Apr 2023 10:53:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682531634; cv=none; d=google.com; s=arc-20160816; b=qe2ubSvDBMoYVV6KlxUXU984iCHvVYmPb/U3aPCNYHeGSFU1ytjwe3gTiV3hP5MyHW H+cgBIM+8sm9DNLJ7IRfftsDf0n0xyPwh5Lw/TY+G1zRzi496KxPU2re+JYudqpxVzmw /0jx+r/JNdgxxbKBJyCP3Nzz+L47Nh9NqHvJZ5A1SvuH0slAvFHjgWc74gM7HSLXOpPJ YP/HDn7SBoIDCDwHm0J/h/XTRA+rJyD1vmv5LkKz9jjQX+6+6lfyLbPM7qY1qtkJjH31 C/Wot9jIacSfE/aU1lRogzyjbOYCRSg/oGm5iz13yW3HXHKro5ITma8OVfmgLHRszLu1 FK2Q== 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=1x07dkAcM1OVQZDYhnEuIZW14XfAVzKs94Qo2Wd9JK0=; b=GSSuj6d1UseRHNzHaU+lehxZEJFEcaIt+/vRKOKWjn31msvSecUnK4Oj24HU97rJLp nIQwKFkQ3Wy2ZUp0k4NhH2UNRx4JDWDljxMmODKnSl8Aqni8lPZgjYP2fiUxp+kBHxH3 p4Vik84FqVmKQL4gPRulVVGQ0scdcHMALg/Pvf4wDXWmEyRcFIrn/sCIQlUokLD09Gx6 gXwDLNuQbMjYFdECszFJPVPbfBETQEW1R6J+AKBZmp/cv+MILNVJeVinUrRcJur2loa2 PWJn0nPTd85qnLAzmqni5CyDELJCO1IexaLFxRic9nDiIKl9FYEH31/fqfFggGCPiold MgEw== 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 d13-20020a170902cecd00b001a6f91439d8si10518214plg.393.2023.04.26.10.53.40; Wed, 26 Apr 2023 10:53:54 -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 S239158AbjDZRsN (ORCPT + 99 others); Wed, 26 Apr 2023 13:48:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234916AbjDZRsL (ORCPT ); Wed, 26 Apr 2023 13:48:11 -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 F36FB359E for ; Wed, 26 Apr 2023 10:48:09 -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 1prjEt-0002VF-LH; Wed, 26 Apr 2023 19:47:35 +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 86BFD1B7C6B; Wed, 26 Apr 2023 17:47:30 +0000 (UTC) Date: Wed, 26 Apr 2023 19:47:28 +0200 From: Marc Kleine-Budde To: "Mendez, Judith" Cc: Chandrasekar Ramakrishnan , Wolfgang Grandegger , Krzysztof Kozlowski , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Schuyler Patton , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Oliver Hartkopp Subject: Re: [PATCH v2 1/4] can: m_can: Add hrtimer to generate software interrupt Message-ID: <20230426-engine-pueblo-9967197ace5a-mkl@pengutronix.de> References: <20230424195402.516-1-jm@ti.com> <20230424195402.516-2-jm@ti.com> <20230424-canon-primal-ece722b184d4-mkl@pengutronix.de> <0261131b-35b5-4570-0283-651432a9d537@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="sy6skchj6wehju3r" Content-Disposition: inline In-Reply-To: <0261131b-35b5-4570-0283-651432a9d537@ti.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,URIBL_BLOCKED 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 --sy6skchj6wehju3r Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 26.04.2023 11:11:12, Mendez, Judith wrote: [...] > > print a proper error message using dev_err_probe("IRQ %s not found and > > polling not activated\n") > >=20 > Why %s when MCAN requests 1 IRQ which is "int0"? If we want to print "int= 0", > should it be hardcoded into the print error message? I think I copied the error message from platform_get_irq_byname() and extended it. Of course it makes sense to hardcode the IRQ name. 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 | --sy6skchj6wehju3r Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEDs2BvajyNKlf9TJQvlAcSiqKBOgFAmRJY64ACgkQvlAcSiqK BOg2Bgf/XL6ENIVYIeH/OuUT86EybAyKIzENCqwDozaSalVYGwgnuG3umI+/cLfW Vw1/8IBXKkoC5YN8KPt+Kkjbc1FF8H1SC495I8qW2f2IJ605BArcF5/LZOqSB/s2 ekqNjshR9Y5EJBVa/Lmlskq/H2UuQI7+/Z47aEPyS3OpVNbvLktJkgdVjxQLJHa9 tFW28wcyBEvaM2lUaVnqYZ8lDmWp+poAEOBGxwGpX9OZjDGtzDwwEJysL4MsEkRs PSt4a0m1MdjJvmsi3dIc7rIrMm5FEBYSNmBA4/btjkfx2HdyGhWTC3mDQHHLCCIx zDaCyzB/YLEZmndoh0zOPK3uX6XwGQ== =Z3Pe -----END PGP SIGNATURE----- --sy6skchj6wehju3r--