Subject: Re: [next-20260122] Build failure on IBM Power Server

From: Vladimir Oltean <[email-masked]>
Date: Fri, 23 Jan 2026 13:07:22 +0200

On Fri, Jan 23, 2026 at 11:52:45AM +0100, Christophe Leroy (CS GROUP) wrote:
> Le 23/01/2026 à 11:39, Vladimir Oltean a écrit :
> > On Fri, Jan 23, 2026 at 10:52:49AM +0100, Christophe Leroy (CS GROUP) wrote:
> > > +Vladimir, Maxime, Jakub and netdev
> > > 
> > > Le 23/01/2026 à 10:11, Venkat Rao Bagalkote a écrit :
> > > > 
> > > > On 23/01/26 1:17 pm, Randy Dunlap wrote:
> > > > > 
> > > > > On 1/22/26 8:15 PM, Venkat Rao Bagalkote wrote:
> > > > > > Greetings!!
> > > > > > 
> > > > > > IBM CI has reported build failure of 20260122 on IBM Power server.
> > > > > > 
> > > > > > 
> > > > > > Error:
> > > > > > 
> > > > > > 
> > > > > > ERROR: modpost: "phy_get_rx_polarity" [drivers/net/phy/
> > > > > > air_en8811h.ko] undefined!
> > > > > > ERROR: modpost: "phy_get_tx_polarity" [drivers/net/phy/
> > > > > > air_en8811h.ko] undefined!
> > > > > > make[2]: *** [scripts/Makefile.modpost:147: Module.symvers] Error 1
> > > > > > make[1]: *** [/home/upstreamci/linux/Makefile:2040: modpost] Error 2
> > > > > > make: *** [Makefile:248: __sub-make] Error 2
> > > 
> > > Thanks for the config file.
> > > 
> > > The probleme is because allthough CONFIG_PHY_COMMON_PROPS is selected,
> > > drivers/phy/phy-common-props.o is not built because CONFIG_GENERIC_PHY
> > > is not selected.
> > > 
> > > Likely comes from commit 66d8a334b57e ("net: phy: air_en8811h: deprecate
> > > "airoha,pnswap-rx" and "airoha,pnswap-tx"")
> > > 
> > > Christophe
> > 
> > The intention was for drivers/phy/phy-common-props.o to be
> > buildable/usable without CONFIG_GENERIC_PHY.
> > 
> > Does this help?
> 
> Yes it fixes the build for me.
> 
> Christophe

Patch sent:
https://lore.kernel.org/linux-phy/[email-masked]/