ipc: remove linebreaks from arguments of __register_sysctl_table
authorThomas Weißschuh <linux@weissschuh.net>
Mon, 19 Feb 2024 20:19:23 +0000 (21:19 +0100)
committerJoel Granados <j.granados@samsung.com>
Fri, 23 Feb 2024 11:13:09 +0000 (12:13 +0100)
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 <linux@weissschuh.net>
Reviewed-by: Joel Granados <j.granados@samsung.com>
Signed-off-by: Joel Granados <j.granados@samsung.com>
ipc/ipc_sysctl.c

index 8c62e443f78b3cede057e03f13b953c6b0288030..e4008288a3ba5cce7d0d8fac1c282acac6c21b3e 100644 (file)
@@ -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) {