{
> @@ -121,7 +120,6 @@ static struct ctl_table xpc_sys_xpc[] = {
>.proc_handler = proc_dointvec_minmax,
>.extra1 = &xpc_disengage_min_timelimit,
>.extra2 = &xpc_disengage_max_timelimit},
> - {}
> };
>
> static struct ctl_table_header *xpc_sysctl;
>
> --
> 2.30.2
>
Reviewed-by: Steve Wahl
--
Steve Wahl, Hewlett Packard Enterprise
limit,
> - .extra2 = &xpc_disengage_max_timelimit},
> - {}
> + .extra2 = &xpc_disengage_max_timelimit}
> };
>
> static struct ctl_table_header *xpc_sysctl;
>
> --
> 2.30.2
>
I assume you'll match the rest of the changes with regards to the
trailing comma.
Reviewed-by: Steve Wahl
--
Steve Wahl, Hewlett Packard Enterprise
so to avoid that just split out the
> registration to each directory with its own entries.
>
> register_sysctl_table() is a deprecated compatibility wrapper.
> register_sysctl() can do the directory creation for you so just use
> that.
>
> Signed-off-by: Luis Cham