[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1019ee40-e7df-43a9-ae3f-ad3172e5bf3e@linux.dev>
Date: Thu, 10 Jul 2025 13:40:33 -0400
From: Sean Anderson <sean.anderson@...ux.dev>
To: Jakub Kicinski <kuba@...nel.org>
Cc: Andrew Lunn <andrew@...n.ch>, Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>, netdev@...r.kernel.org,
Paolo Abeni <pabeni@...hat.com>, linux-kernel@...r.kernel.org,
"David S . Miller" <davem@...emloft.net>,
Florian Fainelli <f.fainelli@...il.com>, Eric Dumazet <edumazet@...gle.com>,
Christian Marangi <ansuelsmth@...il.com>
Subject: Re: [PATCH net] net: phy: Don't register LEDs for genphy
Hi Jakub,
On 7/8/25 11:52, Sean Anderson wrote:
> On 7/7/25 19:32, Jakub Kicinski wrote:
>> On Mon, 7 Jul 2025 15:58:03 -0400 Sean Anderson wrote:
>>> - if (IS_ENABLED(CONFIG_PHYLIB_LEDS))
>>> + if (IS_ENABLED(CONFIG_PHYLIB_LEDS) && !phy_driver_is_genphy(phydev) &&
>>> + !phy_driver_is_genphy_10g(phydev))
>>
>> Breaks build for smaller configs:
>>
>> drivers/net/phy/phy_device.c: In function ‘phy_probe’:
>> drivers/net/phy/phy_device.c:3506:14: error: implicit declaration of function ‘phy_driver_is_genphy_10g’; did you mean ‘phy_driver_is_genphy’? [-Werror=implicit-function-declaration]
>> 3506 | !phy_driver_is_genphy_10g(phydev))
>> | ^~~~~~~~~~~~~~~~~~~~~~~~
>> | phy_driver_is_genphy
>
> This is due to
> https://github.com/linux-netdev/testing/commit/42ed7f7e94da01391d3519ffb5747698d2be0a67
> which is not in net/main yet.
>
> --Sean
I see this is marked "Changes Requested" in patchwork. However, I don't
believe that I need to change anything until the above commit is merged
into net/main. Will you be merging that commit? Or should I just resend
without changes?
--Sean
Powered by blists - more mailing lists