sysctl: Replace unidirectional INT converter macros with functions
authorJoel Granados <joel.granados@kernel.org>
Wed, 3 Dec 2025 21:42:32 +0000 (22:42 +0100)
committerJoel Granados <joel.granados@kernel.org>
Tue, 6 Jan 2026 10:26:42 +0000 (11:26 +0100)
commitef153851af5b05c23b3484e7eebaadd18f2da6a9
tree51af79667c55dbe49f0881221f7da7e78a9cba54
parentb3af263b8a83f2ed033ae83fe008004b061b84f4
sysctl: Replace unidirectional INT converter macros with functions

Replace SYSCTL_USER_TO_KERN_INT_CONV and SYSCTL_KERN_TO_USER_INT_CONV
macros with function implementing the same logic.This makes debugging
easier and aligns with the functions preference described in
coding-style.rst. Update all jiffies converters to use explicit function
implementations instead of macro-generated versions.

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