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

Liu Shixin posted 2 patches 3 years, 6 months ago
fs/proc/proc_sysctl.c |  7 -------
kernel/sysctl-test.c  | 43 ++++++++++++++++++++-----------------------
kernel/sysctl.c       |  9 ++++++++-
3 files changed, 28 insertions(+), 31 deletions(-)
[PATCH v2 0/2] Use sysctl_vals in sysctl-test.c
Posted by Liu Shixin 3 years, 6 months ago
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
Re: [PATCH v2 0/2] Use sysctl_vals in sysctl-test.c
Posted by Luis Chamberlain 3 years, 6 months ago
On Thu, Sep 08, 2022 at 04:29:45PM +0800, Liu Shixin wrote:
> 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(-)

Queued up on sysctl-testing thanks!

  Luis