uapi: Use UAPI definitions of INT_MAX and INT_MIN
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected] change-id 20251229-uapi-limits-56c45c9369c9Versions newest first
- v2 Latest3 patches 0 repliesApplied 3/3
- v1 RFC3 patches 6 repliesSuperseded
Changes in v2 from the cover letter
- Use uapi/linux/typelimits.h over uapi/linux/limits.h
- Drop RFC status
- Link to v1: https://lore.kernel.org/r/[email protected]
Patches in v2 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | uapi: add INT_MAX and INT_MIN constantsinclude/ | +8 | 0 replies | Applied |
| 2/3 | ethtool: uapi: Use UAPI definition of INT_MAXinclude/ | +2 | 0 replies | Applied |
| 3/3 | netfilter: uapi: Use UAPI definition of INT_MAX and INT_MINinclude/ include/ include/ | +10 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] uapi: Use UAPI definitions of INT_MAX and INT_MIN
Using <limits.h> to gain access to INT_MAX and INT_MIN introduces a dependency on a libc, which UAPI headers should not do.
Introduce and use equivalent UAPI constants.
---
Changes in v2:
- Use uapi/linux/typelimits.h over uapi/linux/limits.h
- Drop RFC status
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Thomas Weißschuh (3):
uapi: add INT_MAX and INT_MIN constants
ethtool: uapi: Use UAPI definition of INT_MAX
netfilter: uapi: Use UAPI definition of INT_MAX and INT_MIN
include/uapi/linux/ethtool.h | 7 ++----- include/uapi/linux/netfilter_bridge.h | 9 +++------ include/uapi/linux/netfilter_ipv4.h | 9 ++++----- include/uapi/linux/netfilter_ipv6.h | 7 +++---- include/uapi/linux/typelimits.h | 8 ++++++++ 5 files changed, 20 insertions(+), 20 deletions(-)
---
base-commit: 16ce6e6fa946ca6fd1e4fce6926b52b6263d98a8
change-id: 20251229-uapi-limits-56c45c9369c9
Best regards,
Signature · 1 line
Thomas Weißschuh <[email protected]>