Commit ca65a280 authored by Joe Perches's avatar Joe Perches Committed by David S. Miller

sunrpc: Avoid comma separated statements

Use semicolons and braces.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dee84779
...@@ -108,8 +108,10 @@ proc_dodebug(struct ctl_table *table, int write, void *buffer, size_t *lenp, ...@@ -108,8 +108,10 @@ proc_dodebug(struct ctl_table *table, int write, void *buffer, size_t *lenp,
left -= (s - tmpbuf); left -= (s - tmpbuf);
if (left && !isspace(*s)) if (left && !isspace(*s))
return -EINVAL; return -EINVAL;
while (left && isspace(*s)) while (left && isspace(*s)) {
left--, s++; left--;
s++;
}
} else } else
left = 0; left = 0;
*(unsigned int *) table->data = value; *(unsigned int *) table->data = value;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment