Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1975876ybb; Sat, 21 Mar 2020 09:50:58 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsFhKH4WOrZmQvM86krzlWkLAfo972loPAfubd+Y8l6R1Zt3bynuNWzURW4LKujZZ90+bkL X-Received: by 2002:aca:b60a:: with SMTP id g10mr10807196oif.102.1584809458424; Sat, 21 Mar 2020 09:50:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584809458; cv=none; d=google.com; s=arc-20160816; b=XpSMwUshUKUOW6XFVf2al+vG1B+7gXZyI5tog8EDDobMKCSmM82DFpbpCmsiVfQ/su 1Rfv8/Zy92rboOGK4pQuRyyRN+2I/Ifux52UNIwOcLZ3flMueAUgiFdznXDpp2RuUD3v OJIX8OAI1LPfBasOR4TKcmN5ZsWqGgnml4rfaKoh8mQmXRASWwB08Vd6WBaOm5NO9Q51 9rO+4v1XlsT8Ohv2HK3fR1OqJt9zU/94Et7WEvigUJAa6moPYAtz/p2gxxtByct0i/QA DPb9dlEEDLRN0dtiqgzYg/DDqqySLLJx07qaub6RTabDtfqZD0pRtPtIS84UscZlDL7u 4+aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=3i4jtKDijIiewr8m+uZlezeua+B1nFKyeJkRAfB/8Pc=; b=x0Znqmb+BkosB5hDCtL1/xeRqcv4z54xfRSxqTCvpqr3NeAVbbRvXsQmSlA0lmymjx RcfxWgqbKFR4/2P+5tE0jmQqZ2ts98olqOBMmPGoFrUUiZ/zD1/YE36iUXEydYERs20H pfoRJ5gURYti5LAiNZiGPtobdqyYFJ+65qMtbclI5VRuAxSIlVHR8XVe1AGaAN6qzpoS IRCP24J0cGP58bcCrHVB+yfnvIRfrSshpN4mXhPlON0G9CqzClGwBXCtNMYBK011AQSQ 7ijBX0RLVfYx9O0f1Yp5fcPVSSrUUjrFwpk5D/EujYXrORjsrveW2Z40s+drFkbfDda8 /HaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=xYMSxw9E; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d20si4151843otf.86.2020.03.21.09.50.45; Sat, 21 Mar 2020 09:50:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=xYMSxw9E; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727635AbgCUQu1 (ORCPT + 99 others); Sat, 21 Mar 2020 12:50:27 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:49180 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726961AbgCUQu1 (ORCPT ); Sat, 21 Mar 2020 12:50:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=3i4jtKDijIiewr8m+uZlezeua+B1nFKyeJkRAfB/8Pc=; b=xYMSxw9EWu/wZUn2D9nhCftCKA xXCLQWc3ubM+Zh4uqpCBW2QL/Qk6QjFq04QkN/LRK6eYTWBGa8qAWPRkhb0fmbScv0ZaoPrXGIbFe JcaQ2wojs5bQdD3Xr2+tQHZXA0KVhaYdCezVQlt8Qf7/yq741ZXmBS6L6TzU9hyEwZRI=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1jFhKA-00069T-Gg; Sat, 21 Mar 2020 17:50:14 +0100 Date: Sat, 21 Mar 2020 17:50:14 +0100 From: Andrew Lunn To: Dejin Zheng Cc: f.fainelli@gmail.com, hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, allison@lohutok.net, corbet@lwn.net, alexios.zavras@intel.com, broonie@kernel.org, tglx@linutronix.de, mchehab+samsung@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v2 0/7] introduce read_poll_timeout Message-ID: <20200321165014.GD22639@lunn.ch> References: <20200320133431.9354-1-zhengdejin5@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200320133431.9354-1-zhengdejin5@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 20, 2020 at 09:34:24PM +0800, Dejin Zheng wrote: > This patch sets is introduce read_poll_timeout macro, it is an extension > of readx_poll_timeout macro. the accessor function op just supports only > one parameter in the readx_poll_timeout macro, but this macro can > supports multiple variable parameters for it. so functions like > phy_read(struct phy_device *phydev, u32 regnum) and > phy_read_mmd(struct phy_device *phydev, int devad, u32 regnum) can > use this poll timeout framework. > > the first patch introduce read_poll_timeout macro, and the second patch > redefined readx_poll_timeout macro by read_poll_timeout(), and the other > patches are examples using read_poll_timeout macro. You missed lan87xx_read_status(), tja11xx_check(), and mv3310_reset(). If you convert all these, your diffstat might look better. Andrew