Thread (3 messages) flat view 3 messages, 3 authors, 2026-01-21

Re: [PATCH net-next] selftests: drv-net: fix missing include in ncdevmem

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-01-21 02:40:44
Also in: linux-kselftest

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:

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

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