Skip to content

Commit 6f4a350

Browse files
akpm00hnaz
authored andcommitted
sysvipc-make-get_maxid-o1-again-checkpatch-fixes
ERROR: space required before the open parenthesis '(' torvalds#110: FILE: ipc/util.c:439: + if(lid == -1) total: 1 errors, 0 warnings, 113 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. ./patches/sysvipc-make-get_maxid-o1-again.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Davidlohr Bueso <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 26887bc commit 6f4a350

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ipc/util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ void ipc_rmid(struct ipc_ids *ids, struct kern_ipc_perm *ipcp)
436436
if (unlikely(lid == ids->max_id)) {
437437
do {
438438
lid--;
439-
if(lid == -1)
439+
if (lid == -1)
440440
break;
441441
} while (!idr_find(&ids->ipcs_idr, lid));
442442
ids->max_id = lid;

0 commit comments

Comments
 (0)