From: Andrew Morton Date: Fri, 9 Nov 2012 03:05:05 +0000 (+1100) Subject: ipc-add-sysctl-to-specify-desired-next-object-id-checkpatch-fixes X-Git-Tag: next-20121109~9^2~40 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=285fa8bcc0a5afbe56ad3739df09e43e9cc49dfe;p=karo-tx-linux.git ipc-add-sysctl-to-specify-desired-next-object-id-checkpatch-fixes ERROR: space required before the open parenthesis '(' #123: FILE: ipc/util.c:285: + if(ids->seq > ids->seq_max) total: 1 errors, 0 warnings, 94 lines checked ./patches/ipc-add-sysctl-to-specify-desired-next-object-id.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: Stanislav Kinsbursky Signed-off-by: Andrew Morton --- diff --git a/ipc/util.c b/ipc/util.c index a961e469433a..74e1d9c7a98a 100644 --- a/ipc/util.c +++ b/ipc/util.c @@ -282,7 +282,7 @@ int ipc_addid(struct ipc_ids* ids, struct kern_ipc_perm* new, int size) if (next_id < 0) { new->seq = ids->seq++; - if(ids->seq > ids->seq_max) + if (ids->seq > ids->seq_max) ids->seq = 0; } else { new->seq = ipcid_to_seqx(next_id);