]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sysctl: Replace UINT converter macros with functions
authorJoel Granados <joel.granados@kernel.org>
Fri, 28 Nov 2025 20:53:00 +0000 (21:53 +0100)
committerJoel Granados <joel.granados@kernel.org>
Mon, 5 Jan 2026 13:10:32 +0000 (14:10 +0100)
commit8fc344a5af7e73178e6ac54d396327655e9ea358
treec2350f872eff7f4a881420d59da87d98196adc5b
parent6036dc03c39a3cb0df14899f29323b6b4b58dfe9
sysctl: Replace UINT converter macros with functions

Replace the SYSCTL_USER_TO_KERN_UINT_CONV and SYSCTL_UINT_CONV_CUSTOM
macros with functions with the same logic. This makes debugging easier
and aligns with the functions preference described in coding-style.rst.
Update the only user of this API: pipe.c.

Signed-off-by: Joel Granados <joel.granados@kernel.org>
fs/pipe.c
include/linux/sysctl.h
kernel/sysctl.c