[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161427540742.4743.13860069967965207667.git-patchwork-notify@kernel.org>
Date: Thu, 25 Feb 2021 17:50:07 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Geert Uytterhoeven <geert+renesas@...der.be>
Cc: olteanv@...il.com, andrew@...n.ch, vivien.didelot@...il.com,
f.fainelli@...il.com, davem@...emloft.net, kuba@...nel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: dsa: sja1105: Remove unneeded cast in sja1105_crc32()
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@...der.be>
>
> [...]
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
Powered by blists - more mailing lists