summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJoel Granados <joel.granados@kernel.org>2025-12-05 13:18:43 +0300
committerJoel Granados <joel.granados@kernel.org>2026-01-05 16:10:32 +0300
commit6036dc03c39a3cb0df14899f29323b6b4b58dfe9 (patch)
tree65c0ed45c436ae7084c2686ea2cc7a5bd07b1017 /scripts
parentac3d6a4b60ef1b26b29517d35ca28966142fc65e (diff)
downloadlinux-6036dc03c39a3cb0df14899f29323b6b4b58dfe9.tar.xz
sysctl: Add CONFIG_PROC_SYSCTL guards for converter macros
Wrap sysctl converter macros with CONFIG_PROC_SYSCTL conditional compilation. When CONFIG_PROC_SYSCTL is disabled, provide stub implementations that return -ENOSYS to prevent link errors while maintaining API compatibility. This ensures converter macros are only compiled when procfs sysctl support is enabled in the kernel configuration. Signed-off-by: Joel Granados <joel.granados@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions