Skip to content

Commit e541048

Browse files
akpm00sfrothwell
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]> Signed-off-by: Stephen Rothwell <[email protected]>
1 parent 05aa233 commit e541048

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
@@ -437,7 +437,7 @@ void ipc_rmid(struct ipc_ids *ids, struct kern_ipc_perm *ipcp)
437437
if (unlikely(lid == ids->max_id)) {
438438
do {
439439
lid--;
440-
if(lid == -1)
440+
if (lid == -1)
441441
break;
442442
} while (!idr_find(&ids->ipcs_idr, lid));
443443
ids->max_id = lid;

0 commit comments

Comments
 (0)