[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aSamOWYSdMC0117A@debianbuilder>
Date: Wed, 26 Nov 2025 08:03:21 +0100
From: Buday Csaba <buday.csaba@...lan.hu>
To: Jakub Kicinski <kuba@...nel.org>
CC: Andrew Lunn <andrew@...n.ch>, Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>, "David S. Miller"
<davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Paolo Abeni
<pabeni@...hat.com>, <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH net-next 1/1] net: mdio: reset PHY before attempting to
access ID register
On Tue, Nov 25, 2025 at 06:43:35PM -0800, Jakub Kicinski wrote:
> On Tue, 25 Nov 2025 12:15:51 +0100 Buday Csaba wrote:
> > When the ID of an Ethernet PHY is not provided by the 'compatible'
> > string in the device tree, its actual ID is read via the MDIO bus.
> > For some PHYs this could be unsafe, since a hard reset may be
> > necessary to safely access the MDIO registers.
>
> You may be missing exports because it doesn't build with allmodconfig:
>
> ERROR: modpost: "mdio_device_register_reset" [drivers/net/mdio/fwnode_mdio.ko] undefined!
> ERROR: modpost: "mdio_device_unregister_reset" [drivers/net/mdio/fwnode_mdio.ko] undefined!
> --
> pw-bot: cr
>
I do not know how, but I missed that.
The previous version has built fine, but the declarations were moved to
an internal header file, so I guess that EXPORT_SYMBOL on either of these
functions would not be appropriate anymore.
I must find an other solution.
Regards,
Csaba
Powered by blists - more mailing lists