Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3769059pxb; Sun, 7 Feb 2021 22:37:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJyGPKh/5t+XtWWlnhE2B00k6tIsw7rkpTsSSVL3nogojNkS5nQKo0MyjMy0AnKYd4fg2TLo X-Received: by 2002:aa7:d5c1:: with SMTP id d1mr15525999eds.359.1612766265758; Sun, 07 Feb 2021 22:37:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612766265; cv=none; d=google.com; s=arc-20160816; b=swKb2Lvr8nWJ8w/7fV9mg26/f0dsvqY+U4saGjMRaoqOT7CsVVJUkkmB+PUOkuZDdY KloL9RApSYRJJz4f0QP0JuoO5XEiguJ/8xFq8aC+N+3zCx9ukoGmlSACNFgBpPcXBW6I H4rG0/0PydEQEiHFL94iJ7JatKiRLo7qwBZ1qUhR1trs70w9YZBfdnyVXKmq7EzazVob V1Ht/GgteavkG8yw1kbnyv/N2jL3AaUfNnF1cCIClor0Oukj6Hu3MkTENy8NRufYw5je uOq3UWBIRNj9g0B2nciSr0tCcQBxzmuWqY0tIovr1ssFlR6AIohu7ouSkm8pO8VYsbnx v1sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-signature; bh=qyHgJypD7UyjQktxsd90zw6xmRVOTfop9RXXOGsXuwI=; b=B0nvOH1vqW365KR3e8i9IcbPzcC58Bz81TVYGrBZE+7+2+z+mZayXx1iC4b9uUOyX0 i5BP58oYtOYe6wbFtjPcLkX2vr0kPlNFpDW63Wd9g5CCNbKX2zHmlGlv6frA9kBUq9l3 dr5uYG5avU0ZPtoBbwHCU5A5bpzoQntsXbdkAZzTOjAFqr9cFKE5qIqm7GiNQm5MzY/p ezWeFskaSbDKGHRIq5jH4su+B/hyB4m3WdxKfkE/q4jy/pjspcRtLhMmC5LFKv3cbEli TltHCQoqWRyO8HTHEFcni+eweprcBs8lSGFP/myQ3pePGnx4KQURTDGGVmaSfulczos2 zacQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm1 header.b=klaYOGYQ; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=VOCyJ4nT; 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 a72si11630473edf.380.2021.02.07.22.37.23; Sun, 07 Feb 2021 22:37:45 -0800 (PST) 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; dkim=pass header.i=@sholland.org header.s=fm1 header.b=klaYOGYQ; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=VOCyJ4nT; 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 S229908AbhBHGee (ORCPT + 99 others); Mon, 8 Feb 2021 01:34:34 -0500 Received: from new3-smtp.messagingengine.com ([66.111.4.229]:48175 "EHLO new3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229725AbhBHGcg (ORCPT ); Mon, 8 Feb 2021 01:32:36 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id B22075801BA; Mon, 8 Feb 2021 01:31:35 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 08 Feb 2021 01:31:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=q yHgJypD7UyjQktxsd90zw6xmRVOTfop9RXXOGsXuwI=; b=klaYOGYQpnHUE8HUU sSSe247L3eQh6ZH3D9HaJX0SaJmHkahb4kg5TRnRxb80Ynq/GHTiO2vfBOPOoubr 8CmJSWTGZu7doLCOcPn3eF1kA7QchCaapoUbwMe8facrpGxsNVZADWxJUhQb/z74 kRmENA8oL4o/EIKAx4qB9MIDXMmNi0zlNFHvUIoy6bBCHvrSqfeoqEdOWHuNTl3Q 0buG0oC2UQ8/WJAmM31Mc1UqWzmbyQTgyweVRwHfrTHiGTEWrFCI+3Iv5cCnJVyd yc8CQDfTXcAghThoDpaSQU4+FC5upvGUTFZlPoG2qwyzqE5eWSLvd2mc9hGY5/L5 cyPuw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=qyHgJypD7UyjQktxsd90zw6xmRVOTfop9RXXOGsXu wI=; b=VOCyJ4nTludCu2lPGjVWCJ5JJZjPWDhWKCahVTLJS0X2SNoyrnWLFtv1z KQyLkH9qMcz34GI2nyFHYyxgJZ3WilziW6dbtQhmNcVYbM5GRVRQbKW6DC2NpLNh 3Lb8kZiCDk/OORkwlzyuRzDwNeyjiXRR2Wym3b1VN4CzsuZhFL/SrbcWPwHtKDW9 FWUD4DIxz0lzttradaLVo02TMoiAaEFY6i0eerGKAo/an2dXSUk45UGuAJe+2qJw ZlCgeeczx4vX/6VcA56FWRF7KhIpFR+su0x9VhEGouyy+h20EuE9dPedAU/yiPx4 UMrhbrzPYzft8MuLSWA33pdTwE9dQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrhedvgdelgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpefgveffteelheffjeeukedvkedviedtheevgeefkeehueeiieeuteeu gfettdeggeenucfkphepjedtrddufeehrddugeekrdduhedunecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepshgrmhhuvghlsehshhholhhlrghn ugdrohhrgh X-ME-Proxy: Received: from [70.135.148.151] (70-135-148-151.lightspeed.stlsmo.sbcglobal.net [70.135.148.151]) by mail.messagingengine.com (Postfix) with ESMTPA id 010B0240057; Mon, 8 Feb 2021 01:31:34 -0500 (EST) Subject: Re: [PATCH] i2c: mv64xxx: Fix check for missing clock To: Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S. Miller" , Jakub Kicinski , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , Corentin Labbe Cc: Ondrej Jirman , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Dan Carpenter References: <20210208062859.11429-1-samuel@sholland.org> <20210208062859.11429-2-samuel@sholland.org> From: Samuel Holland Message-ID: <4f696b13-2475-49f2-5d75-f2120e159142@sholland.org> Date: Mon, 8 Feb 2021 00:31:34 -0600 User-Agent: Mozilla/5.0 (X11; Linux ppc64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <20210208062859.11429-2-samuel@sholland.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/8/21 12:28 AM, Samuel Holland wrote: > In commit e5c02cf54154 ("i2c: mv64xxx: Add runtime PM support"), error > pointers to optional clocks were replaced by NULL to simplify the resume > callback implementation. However, that commit missed that the IS_ERR > check in mv64xxx_of_config should be replaced with a NULL check. As a > result, the check always passes, even for an invalid device tree. Sorry, please ignore this unrelated patch. I accidentally copied it to the wrong directory before sending this series. Samuel