[next] arm: drivers/net/ethernet/ti/davinci_mdio.c:649: undefined reference to `free_mdio_bitbang'

From: Naresh Kamboju
Date: Tue Aug 23 2022 - 09:28:38 EST


arm builds failed on Linux next-20220823 tag for the following builds.

Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

Regressions found on arm:
- build-clang-nightly-keystone_defconfig
- build-clang-13-keystone_defconfig
- build-gcc-10-omap2plus_defconfig
- build-gcc-8-davinci_all_defconfig
- build-gcc-11-davinci_all_defconfig
- build-clang-14-omap2plus_defconfig
- build-clang-14-keystone_defconfig
- build-gcc-10-davinci_all_defconfig
- build-clang-14-davinci_all_defconfig
- build-clang-11-davinci_all_defconfig
- build-gcc-9-davinci_all_defconfig
- build-gcc-9-omap2plus_defconfig
- build-clang-11-omap2plus_defconfig
- build-clang-12-davinci_all_defconfig
- build-clang-13-davinci_all_defconfig
- build-clang-12-keystone_defconfig
- build-gcc-8-omap2plus_defconfig
- build-clang-13-omap2plus_defconfig
- build-gcc-11-omap2plus_defconfig
- build-gcc-8-keystone_defconfig
- build-gcc-10-keystone_defconfig
- build-clang-nightly-omap2plus_defconfig
- build-clang-nightly-davinci_all_defconfig
- build-gcc-9-keystone_defconfig
- build-gcc-11-keystone_defconfig
- build-clang-11-keystone_defconfig
- build-clang-12-omap2plus_defconfig


Build error:
-------------
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/davinci_mdio.o: in
function `davinci_mdio_remove':
drivers/net/ethernet/ti/davinci_mdio.c:649: undefined reference to
`free_mdio_bitbang'
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/davinci_mdio.o: in
function `davinci_mdio_probe':
drivers/net/ethernet/ti/davinci_mdio.c:545: undefined reference to
`alloc_mdio_bitbang'
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/davinci_mdio.o: in
function `davinci_mdiobb_read':
drivers/net/ethernet/ti/davinci_mdio.c:236: undefined reference to `mdiobb_read'
arm-linux-gnueabihf-ld: drivers/net/ethernet/ti/davinci_mdio.o: in
function `davinci_mdiobb_write':
drivers/net/ethernet/ti/davinci_mdio.c:253: undefined reference to
`mdiobb_write'
make[1]: *** [Makefile:1250: vmlinux] Error 1


metadata:
---------
Build: https://builds.tuxbuild.com/2DkF0UFq3NZAwUKNFLTyWfDPqem/
config: https://builds.tuxbuild.com/2DkF0UFq3NZAwUKNFLTyWfDPqem/config
git_describe: next-20220823
git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
git_sha: 05477f3653b82d8b3bcf39d2937d9893124976db
git_short_log: 05477f3653b8 ("Add linux-next specific files for 20220823")

Steps to reproduce:
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake

# See https://docs.tuxmake.org/ for complete documentation.
# Original tuxmake command with fragments listed below.

tuxmake --runtime podman --target-arch arm --toolchain gcc-11
--kconfig omap2plus_defconfig


--
Linaro LKFT
https://lkft.linaro.org