Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp3097464pxy; Wed, 4 Aug 2021 02:10:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfqJsnqSXmuIf+fz45BRsYudq+izedDJXbkSENTKPLEWog7Flzy2SFfl9b5WkH61SH2S7l X-Received: by 2002:a05:6602:3423:: with SMTP id n35mr33110ioz.188.1628068222936; Wed, 04 Aug 2021 02:10:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628068222; cv=none; d=google.com; s=arc-20160816; b=Yo2+WXjNJgGOlw2Wwp7k2c8u0JKWL6DKMDrC3vRmMcTdZzcC4dy3oDJxWT04DfSh3J /fTjCCKelIOJvoJA6qRkDKEmcMVTHEc0HfgEVmnwDrcegQ8otyegEG8sHnigbLvq7g6W JxyKkswsWtQk2YioQBMnX+5VjBkl4tPFRbuwfcsXTBRjECiSTXYCgAkD4uKILerlidS8 KOtKB/tqQ3BC3grcD7PlkXbpot6ragPE+J3/XT2mG2/q8jOrZwHBiDEPtEdZ1Ofa+WxL 6fGiUGuMBM6dveoDGf53wQkN1p6OsXzkS+hj0zPvvLnjGKfNJM7zIX8h4GdUawKWmfol Re0A== 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=b0f7BhpqSZV0Cgs/5GJ5RdRmjhH/LH+dRWRy2tnRHp0=; b=jjJL7ORb9OEPfDiSxKCyw2Hc2UPKK0Qaszjjk4MO7t74Fi1IeWMCARZUVwwkDeJAgE sFGV+DDEUSgwZlmNwCh+p7JTkuCGi/Ug7EpuNlKaneUCHAUWzCeLYs8XpDgw+puS1fdA 0lGBrSdubnrt3wocT6XOQHk//pbpNKyE2AyY8pljEAReOpGQJcryxoNckI6/BfM02xEJ C8W44yYzgO2a0X/cg3DWSyvKi7X5bQ2jV1BVbQj69VrDBfNfycA9/60C0/KrExs4khPg 86Zj+JDn/HX9pJ7RcbXzWbdBzSXUecy/UN0OE/JYPXQfp6LTSekJrhVwIFz1aW/Vdbtg 7WhA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l41si1888862jac.52.2021.08.04.02.10.08; Wed, 04 Aug 2021 02:10:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235740AbhHDHVW (ORCPT + 99 others); Wed, 4 Aug 2021 03:21:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235394AbhHDHVW (ORCPT ); Wed, 4 Aug 2021 03:21:22 -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 0FECEC0613D5 for ; Wed, 4 Aug 2021 00:21:10 -0700 (PDT) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] 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 1mBBD5-00075N-7L; Wed, 04 Aug 2021 09:21:03 +0200 Received: from pengutronix.de (unknown [IPv6:2a02:810a:8940:aa0:e44:2d7c:bf4a:7b36]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) 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 E25D96605B5; Wed, 4 Aug 2021 07:20:59 +0000 (UTC) Date: Wed, 4 Aug 2021 09:20:58 +0200 From: Marc Kleine-Budde To: Colin Ian King Cc: Angelo Dureghello , Wolfgang Grandegger , "David S. Miller" , Jakub Kicinski , linux-can@vger.kernel.org, "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: can: flexcan: add mcf5441x support Message-ID: <20210804072058.vechdbtfcdz66rmz@pengutronix.de> References: <7c80c17f-e38a-8fb1-f3c7-987187a2c4d8@canonical.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ujbc5qq3llttedpi" Content-Disposition: inline In-Reply-To: <7c80c17f-e38a-8fb1-f3c7-987187a2c4d8@canonical.com> X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ujbc5qq3llttedpi Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 03.08.2021 16:23:26, Colin Ian King wrote: > I'm not sure if it's possible for priv->clk_ipg and priv_clk_per to both > be null, so I'm not sure if err can end up being not set. However, it > does seem that either err should be zero or some err value, but I was > unsure how err should be initialized in this corner case. As it stands, > err probably needs to be set just to be safe. ACK - There was already a patch that fixes the problem, but I've not included it in a pull request: https://lore.kernel.org/linux-can/20210728075428.1493568-1-mkl@pengutronix.= de/ Will send now one. regards, Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | --ujbc5qq3llttedpi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEK3kIWJt9yTYMP3ehqclaivrt76kFAmEKP9cACgkQqclaivrt 76nhcQf+JviYcYhXs2AfGXxhXa1mOiIyxbhtAdJofmRGNZosFUBcRk7VUI8t4e8B f9bZ1kVN3VwybiLQoYdxeAHcoSCEC0DYFoAuJlQFuOC5wsk3b0/lph/aK8D37Z4d +cqxEdhu95JgZDDROYwYabWIN0vuym5jPAqyGKwvbvbBVxShHhpQrEbimZq4eENR 9OImRAkrjyP3v90E8scC4aupHcrsGmiDPZTSvqw1KOqK4hKYwl/wzgiIoB7QWftL 5+vHqrLqejpmhCYaHsF6UvLAd5rg2+3nyu83r9o5stuMKn7c0o4lDezpA/S0hi8x 0cVLp12P4s5rJCJkJ04lZmZLYQ11kQ== =V9nl -----END PGP SIGNATURE----- --ujbc5qq3llttedpi--