[PATCH net-next] net: stmmac: xgmac: use const char arrays for string constants
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Fri Aug 9 04:10:30 PDT 2024
Hello:
This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem at davemloft.net>:
On Tue, 06 Aug 2024 11:52:01 +0100 you wrote:
> Jiri Slaby advises me that the preferred mechanism for declaring
> string constants is static char arrays, so use that here.
>
> This mostly reverts
> commit 1692b9775e74 ("net: stmmac: xgmac: use #define for string constants")
>
> That commit was a fix for
> commit 46eba193d04f ("net: stmmac: xgmac: fix handling of DPP safety error for DMA channels").
> The fix being replacing const char * with #defines in order to address
> compilation failures observed on GCC 6 through 10.
>
> [...]
Here is the summary with links:
- [net-next] net: stmmac: xgmac: use const char arrays for string constants
https://git.kernel.org/netdev/net-next/c/36fb51479e3c
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