Skip to content
/ linux Public
forked from torvalds/linux

Commit

Permalink
ipc: remove linebreaks from arguments of __register_sysctl_table
Browse files Browse the repository at this point in the history
Calls to __register_sysctl_table will be validated by
scripts/check-sysctl-docs. As this script is line-based remove the
linebreak which would confuse the script.

Signed-off-by: Thomas Weißschuh <[email protected]>
Reviewed-by: Joel Granados <[email protected]>
Signed-off-by: Joel Granados <[email protected]>
  • Loading branch information
t-8ch authored and Joelgranados committed Feb 23, 2024
1 parent 0f6588b commit 8e88291
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ipc/ipc_sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,7 @@ bool setup_ipc_sysctls(struct ipc_namespace *ns)
tbl[i].data = NULL;
}

ns->ipc_sysctls = __register_sysctl_table(&ns->ipc_set,
"kernel", tbl,
ns->ipc_sysctls = __register_sysctl_table(&ns->ipc_set, "kernel", tbl,
ARRAY_SIZE(ipc_sysctls));
}
if (!ns->ipc_sysctls) {
Expand Down

0 comments on commit 8e88291

Please sign in to comment.