diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2012-02-08 15:22:59 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2012-02-14 15:54:39 +1100 |
commit | 531cc85e07faea30d853017802a8be7bba7499af (patch) | |
tree | c83356c2b4446ccb272fca00f4fab30951468a04 | |
parent | e4490eadeca880d063a49e3aec8b6eb489477e5b (diff) |
pidns-add-reboot_pid_ns-to-handle-the-reboot-syscall-checkpatch-fixes
ERROR: space required before the open parenthesis '('
#111: FILE: kernel/pid_namespace.c:233:
+ switch(cmd) {
total: 1 errors, 0 warnings, 95 lines checked
./patches/pidns-add-reboot_pid_ns-to-handle-the-reboot-syscall.patch has style problems, please review.
If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
Please run checkpatch prior to sending patches
Cc: Daniel Lezcano <daniel.lezcano@free.fr>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r-- | kernel/pid_namespace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/pid_namespace.c b/kernel/pid_namespace.c index 0d355e8df0c..369535bbcc1 100644 --- a/kernel/pid_namespace.c +++ b/kernel/pid_namespace.c @@ -230,7 +230,7 @@ int reboot_pid_ns(struct pid_namespace *pid_ns, int cmd) if (pid_ns == &init_pid_ns) return 0; - switch(cmd) { + switch (cmd) { case LINUX_REBOOT_CMD_RESTART2: case LINUX_REBOOT_CMD_RESTART: pid_ns->reboot = SIGHUP; |