Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp785690ybz; Fri, 1 May 2020 08:30:51 -0700 (PDT) X-Google-Smtp-Source: APiQypLCmEhbruAvo3OfgEL2fVp/OMJgQzoh7DDx9CNGRmjAKO4v6ZY90q8bUtOxaZVpXzC7LWuH X-Received: by 2002:a17:906:6856:: with SMTP id a22mr3838843ejs.115.1588347051824; Fri, 01 May 2020 08:30:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588347051; cv=none; d=google.com; s=arc-20160816; b=NOJizMpYR3CrN77ymRHa5MP+SARCIrZtRBRVz7GY0pi/4AYl6CATA/cq0Nd4n3EZEp 49FYiE/m6kWc3F5EK5vVHQVdXPX7Mpe2d7uJEQepTAkmcF3gMR0qbkz7P7rAoqc4xJ9W kpVIoGRoMhzysJjCDHPi2MjoQNfoFhiYeGfDGUyjI4lgPxPEcGA+qFHcQwgWH3tkwP54 gFsbMISKl9av605HqHYo29T2mfzi5CusnZT/x8ACFT5fI8FA8BZBc7pekPhvGBdLE+Tz +lruY6O6XF0s9o26f3Ztoe+kic6htGu/keJnecstFsfE4oqO7r2l6Disdo7gLwBGds+1 u3Kw== 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=g87l+dQPat6RISHmb/M+c0r+YR6nZMVGy4jXDg/BT5Y=; b=kOSR0aZ48L6vbcQeG8mmBZ5C2im/Vq/WU4oJZ8ZlNhAlp4Uu8Sm/fOVKFk5cPY4zZ7 lQ3ODNdBb0VTHUSsnuidx5yRQUWMMt/Si9M/4s6Onnu5ceuk6TcxuIDOh2zcaYbDpXgY LkY+o/AAT6iE3iUqSFdxAHK+7ok8ywG4BrFQ45vl70wounJNUhSOuCppX0SnYrt7OqLR pE3JaB9U1wv4IDbak/GfF6Me34GA++jWHbl/lyty9DOyFf6O1hIlMZfaraqymANj6VMl MCFOCumEeT32EbRli7Ujqr/sifwizfeYsK560J5q6Sx7F/TH754JghB7WZqv/q2E73OC otOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=P6PpYSUI; 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 e8si1947339edl.2.2020.05.01.08.30.27; Fri, 01 May 2020 08:30:51 -0700 (PDT) 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=fail header.i=@lunn.ch header.s=20171124 header.b=P6PpYSUI; 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 S1729126AbgEAP3D (ORCPT + 99 others); Fri, 1 May 2020 11:29:03 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:36426 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728812AbgEAP3D (ORCPT ); Fri, 1 May 2020 11:29:03 -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=g87l+dQPat6RISHmb/M+c0r+YR6nZMVGy4jXDg/BT5Y=; b=P6PpYSUIF0qaq/BE82nIHPuExZ oz4MO4IxBlfZiIOqksQmOxpu61b4C1+2I9DCYthnN+6zEx14OUppsEropI5s74zCRnfYEqUsP5XbV oZuRUQWXYdXom6Ft2YPceKMwcxm4Rf5SFFjmPuumyDsRCaBf5YHANqEk24vp4hUy/Aak=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1jUXay-000YD8-Cv; Fri, 01 May 2020 17:28:56 +0200 Date: Fri, 1 May 2020 17:28:56 +0200 From: Andrew Lunn To: Martin Blumenstingl Cc: robh+dt@kernel.org, f.fainelli@gmail.com, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, jianxin.pan@amlogic.com, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH RFC v2 03/11] net: stmmac: dwmac-meson8b: use FIELD_PREP instead of open-coding it Message-ID: <20200501152856.GC128733@lunn.ch> References: <20200429201644.1144546-1-martin.blumenstingl@googlemail.com> <20200429201644.1144546-4-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200429201644.1144546-4-martin.blumenstingl@googlemail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 29, 2020 at 10:16:36PM +0200, Martin Blumenstingl wrote: > Use FIELD_PREP() to shift a value to the correct offset based on a > bitmask instead of open-coding the logic. > No functional changes. > > Signed-off-by: Martin Blumenstingl Reviewed-by: Andrew Lunn Andrew