sysctl: replace SYSCTL_INT_CONV_CUSTOM macro with functions
authorJoel Granados <joel.granados@kernel.org>
Thu, 4 Dec 2025 12:11:58 +0000 (13:11 +0100)
committerJoel Granados <joel.granados@kernel.org>
Tue, 6 Jan 2026 10:27:10 +0000 (11:27 +0100)
commitd174174c6776a340f5c25aab1ac47a2dd950f380
tree82c1f5408a85b885cf6874149d87e2acfef1e7b4
parentef153851af5b05c23b3484e7eebaadd18f2da6a9
sysctl: replace SYSCTL_INT_CONV_CUSTOM macro with functions

Remove SYSCTL_INT_CONV_CUSTOM and replace it with proc_int_conv. This
converter function expects a negp argument as it can take on negative
values. Update all jiffies converters to use explicit function calls.
Remove SYSCTL_CONV_IDENTITY as it is no longer used.

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