From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4BAEC64EC4 for ; Fri, 17 Feb 2023 14:00:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229616AbjBQOAy (ORCPT ); Fri, 17 Feb 2023 09:00:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229574AbjBQOAx (ORCPT ); Fri, 17 Feb 2023 09:00:53 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFEF06241E for ; Fri, 17 Feb 2023 06:00:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=GubmRme+v7EfTthXDZIVsuZy9ir0x79diNscNiRKuz8=; b=NkDuSO94jLDHBV/G2HhqSfq8wB 9yhdygDJ/28pZPF2YMyop78ZZKmF5guXm7idKJ1m8h0R+8hhB8/x8HEdM7kCEKefDbVgQIMClwNyu AXSFn1i9T7NBs2I4NlSEFI91vQXo+NGLu7+LxiZQns83s59ec1XDl79yfZMWuoM3VkJo=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1pT1I8-005I05-E3; Fri, 17 Feb 2023 15:00:48 +0100 Date: Fri, 17 Feb 2023 15:00:48 +0100 From: Andrew Lunn To: Florian Fainelli Cc: netdev , Vladimir Oltean , Sean Wang , Landen Chao , DENG Qingfang , Matthias Brugger , AngeloGioacchino Del Regno , Doug Berger , Broadcom internal kernel review list , Wei Fang , Shenwei Wang , Clark Wang , NXP Linux Team , UNGLinuxDriver@microchip.com, Byungho An , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Maxime Coquelin , Heiner Kallweit , Russell King , Woojung Huh , Oleksij Rempel Subject: Re: [PATCH RFC 09/18] net: genet: Fixup EEE Message-ID: References: <20230217034230.1249661-1-andrew@lunn.ch> <20230217034230.1249661-10-andrew@lunn.ch> <30ec2581-ab5d-2cf8-e5cb-dc7c99f43d3c@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <30ec2581-ab5d-2cf8-e5cb-dc7c99f43d3c@gmail.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org > This looks similar to a number of patches for GENET that I need to resurrect > against net-next, or even submit to net. LGTM at first glance, I will give > you series a test. Thanks for testing. > > --- a/drivers/net/ethernet/broadcom/genet/bcmgenet.c > > +++ b/drivers/net/ethernet/broadcom/genet/bcmgenet.c > > @@ -1272,12 +1272,17 @@ static void bcmgenet_get_ethtool_stats(struct net_device *dev, > > } > > } > > -static void bcmgenet_eee_enable_set(struct net_device *dev, bool enable) > > +void bcmgenet_eee_enable_set(struct net_device *dev, bool eee_active) > > { > > struct bcmgenet_priv *priv = netdev_priv(dev); > > - u32 off = priv->hw_params->tbuf_offset + TBUF_ENERGY_CTRL; > > Seems unnecessary, yes it does not quite abide by the RCT style, but no need > to fix that yet. Yes, it is unnecassary. I can drop it. Andrew