Skip to content

xdpdump: include <limits.h> removed from linux/ethtool.h#563

Merged
tohojo merged 1 commit intoxdp-project:mainfrom
nuqleo:main
Feb 27, 2026
Merged

xdpdump: include <limits.h> removed from linux/ethtool.h#563
tohojo merged 1 commit intoxdp-project:mainfrom
nuqleo:main

Conversation

@nuqleo
Copy link
Contributor

@nuqleo nuqleo commented Feb 26, 2026

Removing include <limits.h> from linux/ethtool.h resulted in a undeclared UINT_MAX and ULONG_MAX compilation errors

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a8a11e5237aed71b7f5f9d33c554ef06fe974311

Added #include <limits.h> in xdp-dump/xdpdump.c

Removing include <limits.h> from linux/ethtool.h resulted
in a undeclared UINT_MAX and ULONG_MAX compilation errors

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a8a11e5237aed71b7f5f9d33c554ef06fe974311

Added #include <limits.h> in xdp-dump/xdpdump.c

Signed-off-by: nucleo <nucleo@fedoraproject.org>
@tohojo tohojo linked an issue Feb 27, 2026 that may be closed by this pull request
Copy link
Member

@tohojo tohojo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix!

@tohojo tohojo merged commit 5f5a7c7 into xdp-project:main Feb 27, 2026
73 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compilation error with kernel 7.0

2 participants