[PATCH v2 0/2] Use sysctl_vals in sysctl-test.c

From: Liu Shixin
Date: Thu Sep 08 2022 - 03:55:48 EST


v1->v2: fix build error when !CONFIG_PROC_SYSCTL

Liu Shixin (2):
kernel/sysctl.c: move sysctl_vals and sysctl_long_vals to sysctl.c
kernel/sysctl-test: use SYSCTL_{ZERO/ONE_HUNDRED} instead of
i_{zero/one_hundred}

fs/proc/proc_sysctl.c | 7 -------
kernel/sysctl-test.c | 43 ++++++++++++++++++++-----------------------
kernel/sysctl.c | 9 ++++++++-
3 files changed, 28 insertions(+), 31 deletions(-)

--
2.25.1