Re: [PATCH] net: dsa: sja1105: Remove unneeded cast in sja1105_crc32()

From: patchwork-bot+netdevbpf
Date: Thu Feb 25 2021 - 12:51:42 EST


Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Tue, 23 Feb 2021 12:20:03 +0100 you wrote:
> sja1105_unpack() takes a "const void *buf" as its first parameter, so
> there is no need to cast away the "const" of the "buf" variable before
> calling it.
>
> Drop the cast, as it prevents the compiler performing some checks.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
>
> [...]

Here is the summary with links:
- net: dsa: sja1105: Remove unneeded cast in sja1105_crc32()
https://git.kernel.org/netdev/net/c/fcd4ba3bcba7

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html