Thread (2 messages) flat view 2 messages, 2 authors, 2021-02-15

Re: [PATCH net-next] net: mscc: ocelot: avoid type promotion when calling ocelot_ifh_set_dest

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-02-15 20:51:39

Hello:

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

On Mon, 15 Feb 2021 15:31:43 +0200 you wrote:
From: Vladimir Oltean <vladimir.oltean@nxp.com>

Smatch is confused by the fact that a 32-bit BIT(port) macro is passed
as argument to the ocelot_ifh_set_dest function and warns:

ocelot_xmit() warn: should '(((1))) << (dp->index)' be a 64 bit type?
seville_xmit() warn: should '(((1))) << (dp->index)' be a 64 bit type?

[...]
Here is the summary with links:
  - [net-next] net: mscc: ocelot: avoid type promotion when calling ocelot_ifh_set_dest
    https://git.kernel.org/netdev/net-next/c/1f778d500df3

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help