[PATCH net-next] net: stmmac: print stmmac_init_dma_engine() errors using netdev_err()
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Fri Feb 21 16:40:36 PST 2025
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba at kernel.org>:
On Thu, 20 Feb 2025 12:47:49 +0000 you wrote:
> stmmac_init_dma_engine() uses dev_err() which leads to errors being
> reported as e.g:
>
> dwc-eth-dwmac 2490000.ethernet: Failed to reset the dma
> dwc-eth-dwmac 2490000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
>
> stmmac_init_dma_engine() is only called from stmmac_hw_setup() which
> itself uses netdev_err(), and we will have a net_device setup. So,
> change the dev_err() to netdev_err() to give consistent error
> messages.
>
> [...]
Here is the summary with links:
- [net-next] net: stmmac: print stmmac_init_dma_engine() errors using netdev_err()
https://git.kernel.org/netdev/net-next/c/3e401818c81b
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