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 6519DC636D6 for ; Tue, 7 Feb 2023 00:54:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230105AbjBGAyu (ORCPT ); Mon, 6 Feb 2023 19:54:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230195AbjBGAyr (ORCPT ); Mon, 6 Feb 2023 19:54:47 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD1DA33470; Mon, 6 Feb 2023 16:54:44 -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=4CrvK76rrD+R3wcfuu8uheBctEOoX8lxcQWUqv+cAh0=; b=xqmzBiYavYtrBVnALt2wa6aAIu IbQWkl2TsFyF1xQp/cJFF2mlLS9i0yJRGAe3kHk6pumq66hiXIAjirEDVZXUHX6osgpjx8MU4lkZv nC8nU1226Ah229BaBzEyPTYF7Ayxfp20diFWAvDDdSiQbNMUmj0aLl70F2iXoriPhIMg=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1pPCFo-004FkA-DG; Tue, 07 Feb 2023 01:54:36 +0100 Date: Tue, 7 Feb 2023 01:54:36 +0100 From: Andrew Lunn To: Oleksij Rempel Cc: Woojung Huh , UNGLinuxDriver@microchip.com, Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Wei Fang , Heiner Kallweit , kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Arun.Ramadoss@microchip.com, intel-wired-lan@lists.osuosl.org Subject: Re: [PATCH net-next v5 08/23] net: phy: migrate phy_init_eee() to genphy_c45_eee_is_active() Message-ID: References: <20230206135050.3237952-1-o.rempel@pengutronix.de> <20230206135050.3237952-9-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230206135050.3237952-9-o.rempel@pengutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 06, 2023 at 02:50:35PM +0100, Oleksij Rempel wrote: > Reduce code duplicated by migrating phy_init_eee() to > genphy_c45_eee_is_active(). > > Signed-off-by: Oleksij Rempel This makes sense, but as i said in a different thread, i think the MAC/PHY API needs improving at some point, which could result in this function going away. But this patchset is big enough as it is. Reviewed-by: Andrew Lunn Andrew