Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <[email protected]>:
On Tue, 20 Jan 2026 10:03:19 -0800 you wrote:
> Commit ca9d74eb5f6a ("uapi: add INT_MAX and INT_MIN constants")
> recently removed some includes of limits.h in uAPI headers.
> ncdevmem.c was depending on them:
>
> ncdevmem.c: In function ‘ethtool_add_flow’:
> ncdevmem.c:369:60: error: ‘INT_MAX’ undeclared (first use in this function)
> 369 | if (endptr == id_start || flow_id < 0 || flow_id > INT_MAX)
> | ^~~~~~~
> ncdevmem.c:77:1: note: ‘INT_MAX’ is defined in header ‘<limits.h>’; did you
> forget to ‘#include <limits.h>’?
>
> [...]
Here is the summary with links:
- [net-next] selftests: drv-net: fix missing include in ncdevmem
https://git.kernel.org/netdev/net-next/c/1802e9079f65
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html