Skip to content

Commit ca65a28

Browse files
JoePerchesdavem330
authored andcommitted
sunrpc: Avoid comma separated statements
Use semicolons and braces. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent dee8477 commit ca65a28

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎net/sunrpc/sysctl.c‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,10 @@ proc_dodebug(struct ctl_table *table, int write, void *buffer, size_t *lenp,
108108
left -= (s - tmpbuf);
109109
if (left && !isspace(*s))
110110
return -EINVAL;
111-
while (left && isspace(*s))
112-
left--, s++;
111+
while (left && isspace(*s)) {
112+
left--;
113+
s++;
114+
}
113115
} else
114116
left = 0;
115117
*(unsigned int *) table->data = value;

0 commit comments

Comments
 (0)