Skip to contentSkip to conversation

stable-rc/linux-6.12.y: (build)call to undeclared function 'dwmac_is_xmac'; ISO C99 and later do n...

REGRESSION KernelCI bot 1 participant 1 message Nov 25 Stable branch

lore
Share & tools
lore

KernelCI bot

author CI
#0 lore raw

Cc from: regression/stable-rc.yaml

New build issue found on stable-rc/linux-6.12.y:

---
call to undeclared function 'dwmac_is_xmac'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] in drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.o (drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c) [logspec:kbuild,kbuild.compiler.error]
---

Log excerpt:
=====================================================
/tmp/kci/linux/drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1772:7: error: call to undeclared function 'dwmac_is_xmac'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1772 | if (!dwmac_is_xmac(priv->plat->core_type))
| ^
/tmp/kci/linux/drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c:1772:33: error: no member named 'core_type' in 'struct plat_stmmacenet_data'
1772 | if (!dwmac_is_xmac(priv->plat->core_type))

      |                            ~~~~~~~~~~  ^

2 errors generated.

=====================================================

When fixing this issue, please attribute this report according to the patch submission rules:

For complete logs and details about the environment used, see the issue on the KernelCI dashboard:

- dashboard: https://d.kernelci.org/i/maestro:e7b818e0cfbc81d019b2c178ef220468dfb9fab1
- giturl: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
- commit HEAD: 87d55cd4c947e78a8b4c2a1d654ba54951a29faa

# Builds where the incident occurred:

## defconfig+allmodconfig+CONFIG_FRAME_WARN=2048 on (arm):
- compiler: clang-21
- config: None
- dashboard: https://d.kernelci.org/build/maestro:6b06f156286e1965ecb3958a

## x86_64_defconfig+allmodconfig on (x86_64):
- compiler: clang-21
- config: None
- dashboard: https://d.kernelci.org/build/maestro:6b06f169286e1965ecb39779

#kernelci issue maestro:e7b818e0cfbc81d019b2c178ef220468dfb9fab1

--
This is an experimental report format. Please send feedback in! Talk to us at [email protected]

Made with love by the KernelCI team - https://kernelci.org