Re: [PATCH] net: Fix unwanted sign extension in netdev_stats_to_stats64()
From: patchwork-bot+netdevbpf
Date: Mon Feb 13 2023 - 05:00:25 EST
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:
On Fri, 10 Feb 2023 13:36:44 +0100 you wrote:
> From: Felix Riemann <felix.riemann@xxxxxx>
>
> When converting net_device_stats to rtnl_link_stats64 sign extension
> is triggered on ILP32 machines as 6c1c509778 changed the previous
> "ulong -> u64" conversion to "long -> u64" by accessing the
> net_device_stats fields through a (signed) atomic_long_t.
>
> [...]
Here is the summary with links:
- net: Fix unwanted sign extension in netdev_stats_to_stats64()
https://git.kernel.org/netdev/net/c/9b55d3f0a69a
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html