Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3988508pxb; Mon, 8 Feb 2021 05:27:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJxNDohNbXd7KWCxeWnjT12kX+eFApoIdcc8sjKeDKFUYhywtgZRUvL8pWvb/6mS3Uzb+esm X-Received: by 2002:a17:906:8612:: with SMTP id o18mr16807517ejx.435.1612790841340; Mon, 08 Feb 2021 05:27:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612790841; cv=none; d=google.com; s=arc-20160816; b=Jbk4gvYO/DesUHXvTXbX9QYdmU8/1xJk3gSExTodEpw9sMSuvL6Xw3ajpwrNivI823 EWgIgwaM63ZJMvDZWwM6vqzCTv/bGJa/3VnPIfaWECiGhMNNBOFwawj2KVWC2iasZSvY 6WzlNJhL82N55vqbroj1azw/6pPDmG3yD5YLUhGnGyOnA6XZ7LDghF+n1zm2z2FGCzYN IImRWhEKaxC0RbMnvie9Kd23wnfZvNsL4IrfSyOJztiXaTZsh8LbrQTWYNBSWODKm/NN 3VIt1rPiGxbo3VL52cZPNR7kI7Dg95WdyBSRYy5XNSbT7WX/LoIE3VjIj4FPRvxaMPOP MSsA== 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=MmstKFRRSrNZhavqLpyK8dJLLBfzG/gwhSeKu6QitCA=; b=m85VAmLVQcgGFSW8/lbmLHBoJKOHxhzLHE3/49rtDCz1VGSe8RHiv87FsGQ9P9DMuA dpS6F4x6x7GKcIZh0Rxym3V0eUpGqfhwXmOk1cSpNX5pt08TzuSNlIkKQdZCco+7wWJS TdZeb8FNeKYVapmTcCnUbd4kRyL//gqWFzj2K+mmR3foTkUcZ6SKZyfJrfLgy2YE9nSK Q/xAlJVIEutpDxcESZl4WeqgVgMyTfXHXL6zGIU3J6+xsKJphmRMoBB3Ip3gyUd3L82j nmP/uyhMZsmS/hJBraN3if+1ueZd4e1gXSU3s2eln23Q2hN8f95RqsN0Ypr118gPsUOQ qyTA== 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 w17si11299964ejy.52.2021.02.08.05.26.57; Mon, 08 Feb 2021 05:27:21 -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; 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 S230482AbhBHNYQ (ORCPT + 99 others); Mon, 8 Feb 2021 08:24:16 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:54924 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231216AbhBHNV4 (ORCPT ); Mon, 8 Feb 2021 08:21:56 -0500 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1l96T5-004pOI-DF; Mon, 08 Feb 2021 14:20:43 +0100 Date: Mon, 8 Feb 2021 14:20:43 +0100 From: Andrew Lunn To: Samuel Holland Cc: Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S. Miller" , Jakub Kicinski , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , Corentin Labbe , Ondrej Jirman , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Dan Carpenter Subject: Re: [PATCH] i2c: mv64xxx: Fix check for missing clock Message-ID: References: <20210208062859.11429-1-samuel@sholland.org> <20210208062859.11429-2-samuel@sholland.org> <4f696b13-2475-49f2-5d75-f2120e159142@sholland.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4f696b13-2475-49f2-5d75-f2120e159142@sholland.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 08, 2021 at 12:31:34AM -0600, Samuel Holland wrote: > 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. Hi Samuel This patch looks correct. But i don't see it in i2c/for-next, where as e5c02cf54154 is. I just want to make sure it does not get lost... Andrew