build failure of next-20220823 due to d04807b80691 ("net: ethernet: ti: davinci_mdio: Add workaround for errata i2329")

From: Sudip Mukherjee (Codethink)
Date: Tue Aug 23 2022 - 13:01:54 EST


Hi All,

The builds of arm davinci_all_defconfig, keystone_defconfig and
omap2plus_defconfig have failed to build next-20220823 with the error:

arm-linux-gnueabi-ld: drivers/net/ethernet/ti/davinci_mdio.o: in function `davinci_mdio_remove':
davinci_mdio.c:(.text+0x200): undefined reference to `free_mdio_bitbang'
arm-linux-gnueabi-ld: drivers/net/ethernet/ti/davinci_mdio.o: in function `davinci_mdiobb_read':
davinci_mdio.c:(.text+0x824): undefined reference to `mdiobb_read'
arm-linux-gnueabi-ld: drivers/net/ethernet/ti/davinci_mdio.o: in function `davinci_mdiobb_write':
davinci_mdio.c:(.text+0x8d4): undefined reference to `mdiobb_write'

git bisect pointed to d04807b80691 ("net: ethernet: ti: davinci_mdio: Add workaround for errata i2329").
And, reverting that commit has fixed the build failure.

I will be happy to test any patch or provide any extra log if needed.


--
Regards
Sudip