Re: [PATCH net] rtase: Modify the condition used to detect overflow in rtase_calc_time_mitigation
From: patchwork-bot+netdevbpf
Date: Fri Apr 25 2025 - 22:20:21 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Thu, 24 Apr 2025 12:04:44 +0800 you wrote:
> Fix the following compile error reported by the kernel test
> robot by modifying the condition used to detect overflow in
> rtase_calc_time_mitigation.
>
> In file included from include/linux/mdio.h:10:0,
> from drivers/net/ethernet/realtek/rtase/rtase_main.c:58:
> In function 'u16_encode_bits',
> inlined from 'rtase_calc_time_mitigation.constprop' at drivers/net/
> ethernet/realtek/rtase/rtase_main.c:1915:13,
> inlined from 'rtase_init_software_variable.isra.41' at drivers/net/
> ethernet/realtek/rtase/rtase_main.c:1961:13,
> inlined from 'rtase_init_one' at drivers/net/ethernet/realtek/
> rtase/rtase_main.c:2111:2:
> >> include/linux/bitfield.h:178:3: error: call to '__field_overflow'
> declared with attribute error: value doesn't fit into mask
> __field_overflow(); \
> ^~~~~~~~~~~~~~~~~~
> include/linux/bitfield.h:198:2: note: in expansion of macro
> '____MAKE_OP'
> ____MAKE_OP(u##size,u##size,,)
> ^~~~~~~~~~~
> include/linux/bitfield.h:200:1: note: in expansion of macro
> '__MAKE_OP'
> __MAKE_OP(16)
> ^~~~~~~~~
>
> [...]
Here is the summary with links:
- [net] rtase: Modify the condition used to detect overflow in rtase_calc_time_mitigation
https://git.kernel.org/netdev/net/c/68f9d8974b54
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html