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 7747EC4332F for ; Fri, 25 Mar 2022 19:42:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231446AbiCYTnj (ORCPT ); Fri, 25 Mar 2022 15:43:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231788AbiCYTnT (ORCPT ); Fri, 25 Mar 2022 15:43:19 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99F063EAD18; Fri, 25 Mar 2022 12:17:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding: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=v7v9I64jtbh4TvILDFhQKVP7yzYLEAb3hBx5zd1jBgk=; b=qJ Nki9/HJ6HtCe6zXtg8ayKilPjuF58wc8vBEXSdpC9DDWIluWBvaeLgp/sF41TQryIwHkd0cLOwlGZ r9et8GZE9gvEN9IF5bcZLOrpU5T4KNnKbjWFan2hr3J8d5J/Lu87wcgN1Dt0I6ATxcuazCpAG2NrJ 18/FfBvFM3gLd/M=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nXojt-00CfzC-FU; Fri, 25 Mar 2022 19:32:45 +0100 Date: Fri, 25 Mar 2022 19:32:45 +0100 From: Andrew Lunn To: =?iso-8859-1?Q?Cl=E9ment_L=E9ger?= Cc: Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski , Paolo Abeni , Horatiu Vultur , Thomas Petazzoni , Alexandre Belloni , Allan Nielsen , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [net-next 2/5] net: mdio: of: use fwnode_mdiobus_* functions Message-ID: References: <20220325172234.1259667-1-clement.leger@bootlin.com> <20220325172234.1259667-3-clement.leger@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220325172234.1259667-3-clement.leger@bootlin.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 25, 2022 at 06:22:31PM +0100, Clément Léger wrote: > Now that fwnode support has been added and implements the same behavior > expected by device-tree parsing The problem is, we cannot actually see that. There is no side by side comparison which makes it clear it has the same behaviour. Please see if something like this will work: 1/4: copy drivers/net/mdio/of_mdio.c to drivers/net/mdio/fwnode_mdio.c 2/4: Delete from fwnode_mdio.c the bits you don't need, like the whitelist 3/4: modify what is left of fwnode_mdio.c to actually use fwnode. 4/4: Rework of_mdio.c to use the code in fwnode_mdio.c The 3/4 should make it clear it has the same behaviour, because we can see what you have actually changed. FYI: net-next is closed at the moment, so you need to post RFC patches. Andrew