Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4452402ybb; Mon, 23 Mar 2020 22:01:08 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtvG7ToGK1iwZiGZlcDJDamvg8t9umDo8gD+e1BzBhLkfJ3wj4Kn+j0JIvVAsGJGSfmkel9 X-Received: by 2002:a9d:3d65:: with SMTP id a92mr19301441otc.326.1585026067708; Mon, 23 Mar 2020 22:01:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585026067; cv=none; d=google.com; s=arc-20160816; b=LwR/Qk6up9BQbovbV0zZhllL6UjXQGJNxGR4Ns2q6RKWY2VhD4MJnOQc/axgfpA4en QxRBtcqtzL/4/W03LIKVUEnI3AHCRVFdMG9MwT55omTZmZn5pM6cAh7+Yu4Xe0oGpvoL OpvKYcBE/lwbr+OzH9EjAywz+f3+w3pIx0wZVh8EA8s746K8svB5QSUOusiD76lECH8K OTrYYxyDuBfp8Be0psdICQwwSrqYos4PheyEliHkk4XZqJ30lRJ0syVFDVBtlVd0wNE9 mv8Tm08XBsF3XsFq/DGB2y5nFQKxoGCYS85gWmKwOK5CGY2MZ3KYFufA/qf2HZgC/RZe KWvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=FWyX0YPekPyjzt8MCPHJeZ59+aSGFSrobsRZHqdWZqY=; b=Teckr1IXfQl/eTilUXVsw6mpovMGfb4FJd4RQoFKrSfWs3s29HxB7ETcCdvt/coy1o F2vPrmhX8q+SJvF2LhL3JMdiqm05x1KWiwj03w7JSqvVTYRBY3rHp6hd55oS1yMtb33u A1lPWBvXr0N+UT3iHAGewKmCHPy/lRCgBg1ErrSu0t5EdPxWdYKIlAGHiEMe+LXIOZHK v1iaMXfovuUVy54bFXuP/FfHq90bTcs7tzIZJyzsidMMv7xZ07StCZK42xzQcjWfxEfD NwXj8wF0NOWRBjnm92nFvBVcIMPB+gkGl/mhwQgjLIsA0s6/wTTkkWmtVJY5D6rMzdp/ Diog== ARC-Authentication-Results: i=1; mx.google.com; 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 t25si8378737ott.228.2020.03.23.22.00.53; Mon, 23 Mar 2020 22:01:07 -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; 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 S1726524AbgCXFA3 (ORCPT + 99 others); Tue, 24 Mar 2020 01:00:29 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:56460 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725934AbgCXFA3 (ORCPT ); Tue, 24 Mar 2020 01:00:29 -0400 Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id B37DD157D9019; Mon, 23 Mar 2020 22:00:27 -0700 (PDT) Date: Mon, 23 Mar 2020 22:00:26 -0700 (PDT) Message-Id: <20200323.220026.1402203457473336218.davem@davemloft.net> To: zhengdejin5@gmail.com Cc: andrew@lunn.ch, f.fainelli@gmail.com, hkallweit1@gmail.com, linux@armlinux.org.uk, corbet@lwn.net, tglx@linutronix.de, gregkh@linuxfoundation.org, allison@lohutok.net, mchehab+samsung@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v7 00/10] introduce read_poll_timeout From: David Miller In-Reply-To: <20200323150600.21382-1-zhengdejin5@gmail.com> References: <20200323150600.21382-1-zhengdejin5@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 23 Mar 2020 22:00:28 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dejin Zheng Date: Mon, 23 Mar 2020 23:05:50 +0800 > 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. ... Series applied, thanks.