[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YuE+dMw+1htaM30b@smile.fi.intel.com>
Date: Wed, 27 Jul 2022 16:32:36 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Marcin Wojtas <mw@...ihalf.com>
Cc: linux-kernel@...r.kernel.org, linux-acpi@...r.kernel.org,
netdev@...r.kernel.org, rafael@...nel.org, sean.wang@...iatek.com,
Landen.Chao@...iatek.com, linus.walleij@...aro.org, andrew@...n.ch,
vivien.didelot@...il.com, f.fainelli@...il.com, olteanv@...il.com,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, linux@...linux.org.uk, hkallweit1@...il.com,
gjb@...ihalf.com, jaz@...ihalf.com, tn@...ihalf.com,
Samer.El-Haj-Mahmoud@....com, upstream@...ihalf.com
Subject: Re: [net-next: PATCH v3 7/8] net: mdio: introduce
fwnode_mdiobus_register_device()
On Wed, Jul 27, 2022 at 08:43:20AM +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.
...
> + dev_dbg(&mdio->dev, "registered mdio device %p fwnode at address %i\n",
> + child, addr);
"%p" makes a little sense (and we have hashed pointers). I think the "%pfw"
would be much better for the user to see.
...
> - dev_dbg(&mdio->dev, "registered mdio device %pOFn at address %i\n",
> - child, addr);
Exactly my point above.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists