[PATCH net-next v2] net: ethernet: mtk_eth_soc: use be32 type to store be32 values

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Mon Apr 10 18:40:19 PDT 2023


Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba at kernel.org>:

On Fri, 07 Apr 2023 15:26:51 +0200 you wrote:
> n_addr is used to store be32 values,
> so a sparse-friendly array of be32 to store these values.
> 
> Flagged by sparse:
>   .../mtk_ppe_debugfs.c:59:27: warning: incorrect type in assignment (different base types)
>   .../mtk_ppe_debugfs.c:59:27:    expected unsigned int
>   .../mtk_ppe_debugfs.c:59:27:    got restricted __be32 [usertype]
>   .../mtk_ppe_debugfs.c:161:46: warning: cast to restricted __be16
> 
> [...]

Here is the summary with links:
  - [net-next,v2] net: ethernet: mtk_eth_soc: use be32 type to store be32 values
    https://git.kernel.org/netdev/net-next/c/9bc11460bea7

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-mediatek mailing list