Thread (4 messages) 4 messages, 2 authors, 2026-01-23

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

From: Vladimir Oltean <vladimir.oltean@nxp.com>
Date: 2026-01-23 11:07:31
Also in: linux-next, linux-phy, linuxppc-dev, lkml

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 :
quoted
On Fri, Jan 23, 2026 at 10:52:49AM +0100, Christophe Leroy (CS GROUP) wrote:
quoted
+Vladimir, Maxime, Jakub and netdev

Le 23/01/2026 à 10:11, Venkat Rao Bagalkote a écrit :
quoted
On 23/01/26 1:17 pm, Randy Dunlap wrote:
quoted
On 1/22/26 8:15 PM, Venkat Rao Bagalkote wrote:
quoted
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/20260123110600.3118561-1-vladimir.oltean@nxp.com/ (local)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help