Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2350160ybb; Sat, 21 Mar 2020 20:03:38 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuApbfsxm5ghJSfOQQzCxE6+Z1pdDz6qCbBlRiJ6Tmh1VGKtL88RST/weFfY710ELz5pzgR X-Received: by 2002:aca:3386:: with SMTP id z128mr12651628oiz.40.1584846218554; Sat, 21 Mar 2020 20:03:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584846218; cv=none; d=google.com; s=arc-20160816; b=eOUwq8DvA9dEkcGIoW2b0QEpBnZIDq6Gq49wMWNj4AbF+gbL4EdBFbuDsiLrBFcqQT qFCnBP9PkRNlQcMrAcRuk+u7uDP3AaI3MU+qr8wT9fhUH1u4q+9Vf3B1UzT+DgFWSIt/ Oa12/oKJhiWQiucA/v5nukWux9CQJA+fkH40IrF6B2nocDm4ae/YT43Xl2qpxeewZk+I 7I0MINIJCx0+BxYcB1NJgua/cHVOx+gtk9/Grcd/KdHxvckEgMpLSpYJy0VmG16HqQvU GLZXVeB5yF7Mt6rBtMMFIT/xT/D8/CQ+YqHOS+PpsH2uA0zcIjZdZxQohWpFiheA5RES hTFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=WMhY0cWXzJNSFE+R5ZlYq8GhanMI8L49EmbBfXYaPc8=; b=a/2nWA54hwtSv2aLIWMOzj/Mc4/IvVz8qzdkj7Wt30NetWwBbvY5g8UeLdv1Qt0X17 RmO/5SrzE1S7008uJJqkBKwk2XHetf9Lw272OKDeQsBo+4GDImLcT/F5cyqgOaYwt0AJ dIcOzZLOZ9JCcF5pu7pVRTQRASWyNwdv9EvsgDJ2v4a5MkruDGUGROAXAI50mstxNH/q jVmk1+QZtE8pKuCDx1rRkk0LFOzMtKP67A+L9POMyYY3nPR5gPMLplt54KdZjEq9O015 1L9xgWr6B2pClaAviljLz9HexEhp0+vm2IZLA7nciXrfnNTlw9i4QDsN7SyYYPOoJKeB zWtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="t/KT82Ga"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w18si5685513otp.180.2020.03.21.20.03.26; Sat, 21 Mar 2020 20:03:38 -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=pass header.i=@gmail.com header.s=20161025 header.b="t/KT82Ga"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728317AbgCVDDH (ORCPT + 99 others); Sat, 21 Mar 2020 23:03:07 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:46990 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726409AbgCVDDH (ORCPT ); Sat, 21 Mar 2020 23:03:07 -0400 Received: by mail-pl1-f194.google.com with SMTP id r3so4295864pls.13; Sat, 21 Mar 2020 20:03:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=WMhY0cWXzJNSFE+R5ZlYq8GhanMI8L49EmbBfXYaPc8=; b=t/KT82Ga7Yn3Ujoty56BWTvXREr8JeoHrRRp0wr96qCQfuukSu6qUfuN/qu7BD0NlU yielUgMlLLPY5gfg1Lm3E6IVvpx3DpdV0JzIDQ2xJIRX+Wo9rXJlKL/aoMezchjLyuQH zs1fIVg2qw5nhX7voYVx4UM0ns8zUKsYf+2CF2y/syPLx9TDf55C/3HGPXlawY3fk0E1 8+hy72wJHxbVlE1afRfA4m+B7Z3F99RpF/Q9DUutltJ3wljaPbkODrOvV6whOwKVQNMK z6ptX8bpuuio0P2rCK4KNvHX5YT47sS/PlgPKmCWEE0/qyRuBfTNjfYyaQOb3yqtTgcI 6Idg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=WMhY0cWXzJNSFE+R5ZlYq8GhanMI8L49EmbBfXYaPc8=; b=lSvFG1RRk1672B3RuWSiBDQHKmMRxg5UHXYSRc8q49ZvUYpyhyx+iMXBuTtao6trOG orpDAKYWPEShB/8cCUbRr1Oz4Diw4wgjg/La9tWFq+6VqJvY2iOL4v3Yi+x5I18AEaOn waEKCyWMK4MSKMH8+z48ECZMxrHzj52VKPsCpwlIfGDNdy1Jq9mb4I5OryK+kSaM/aKj JHgszFK3yV2I2es9jnyv8OqmRejNnbEu5ctCFXNYOBRvnYFpkMnyEmHwYR8VdF1xRiJZ scLWPsuNSR+j2mRLd2J9+Nfb8u+Sy29lZW8YL8G+aP5d+r3fekgC2QB5C6F1e8TZn7ng 3Ilg== X-Gm-Message-State: ANhLgQ0t9hQUK7uBIj4DPgIt83RRLHpm+LAVFV4+3i2G3qzvpOW9zBsG d4n+T2PF5qcy+GHHtwtklnw= X-Received: by 2002:a17:90a:25c6:: with SMTP id k64mr17610781pje.9.1584846186091; Sat, 21 Mar 2020 20:03:06 -0700 (PDT) Received: from localhost ([216.24.188.11]) by smtp.gmail.com with ESMTPSA id a19sm9733964pfk.110.2020.03.21.20.03.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 21 Mar 2020 20:03:05 -0700 (PDT) Date: Sun, 22 Mar 2020 11:03:01 +0800 From: Dejin Zheng To: Andrew Lunn 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: <20200322030301.GA31541@nuc8i5> References: <20200320133431.9354-1-zhengdejin5@gmail.com> <20200321165014.GD22639@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200321165014.GD22639@lunn.ch> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 21, 2020 at 05:50:14PM +0100, Andrew Lunn wrote: > 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 Hi Andrew: ok, Thanks for your reminder, I will do it. BR, Dejin