lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <CAPv3WKd+e5kYz7L0Fnw6u9wcPU6+r54EeEWvJzw8oCyj=m6JPg@mail.gmail.com> Date: Tue, 21 Jun 2022 11:33:36 +0200 From: Marcin Wojtas <mw@...ihalf.com> To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com> Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, ACPI Devel Maling List <linux-acpi@...r.kernel.org>, netdev <netdev@...r.kernel.org>, "Rafael J. Wysocki" <rafael@...nel.org>, Len Brown <lenb@...nel.org>, Andrew Lunn <andrew@...n.ch>, vivien.didelot@...il.com, Florian Fainelli <f.fainelli@...il.com>, Vladimir Oltean <olteanv@...il.com>, "David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, pabeni@...hat.com, Russell King - ARM Linux <linux@...linux.org.uk>, Heiner Kallweit <hkallweit1@...il.com>, Grzegorz Bernacki <gjb@...ihalf.com>, Grzegorz Jaszczyk <jaz@...ihalf.com>, Tomasz Nowicki <tn@...ihalf.com>, Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@....com>, upstream@...ihalf.com Subject: Re: [net-next: PATCH 06/12] net: mdio: introduce fwnode_mdiobus_register_device() pon., 20 cze 2022 o 19:49 Andy Shevchenko <andriy.shevchenko@...ux.intel.com> napisaĆ(a): > > On Mon, Jun 20, 2022 at 05:02:19PM +0200, Marcin Wojtas wrote: > > As a preparation patch to extend MDIO capabilities in the ACPI world, > > introduce fwnode_mdiobus_register_device() to register non-PHY > > devices on the mdiobus. > > > > While at it, also use the newly introduced fwnode operation in > > of_mdiobus_phy_device_register(). > > ... > > > static int of_mdiobus_register_device(struct mii_bus *mdio, > > struct device_node *child, u32 addr) > > { > > > + return fwnode_mdiobus_register_device(mdio, of_fwnode_handle(child), addr); > > } > > Since it's static one-liner you probably may ger rid of it completely. > Good point, will do in v2. Thanks, Marcin
Powered by blists - more mailing lists