From d3b3ebb7a661e65075415a9ce589c9190f2ec526 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 25 Oct 2012 12:15:17 +1100 Subject: [PATCH] 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 --- ipc/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2