[PATCH net-next v1] net: stmmac: Relocate extern declarations in common.h and hwif.h
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Tue Dec 10 18:30:38 PST 2024
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba at kernel.org>:
On Sun, 8 Dec 2024 15:02:02 +0800 you wrote:
> The extern declarations should be in a header file that corresponds to
> their definition, move these extern declarations to its header file.
> Some of them have nowhere to go, so move them to hwif.h since they are
> referenced in hwif.c only.
>
> dwmac100_* dwmac1000_* dwmac4_* dwmac410_* dwmac510_* stay in hwif.h,
> otherwise you will be flooded with name conflicts from dwmac100.h,
> dwmac1000.h and dwmac4.h if hwif.c try to #include these .h files.
>
> [...]
Here is the summary with links:
- [net-next,v1] net: stmmac: Relocate extern declarations in common.h and hwif.h
https://git.kernel.org/netdev/net-next/c/46afe345ff18
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-arm-kernel
mailing list