From: Joe Perches Date: Tue, 25 Aug 2020 04:56:25 +0000 (-0700) Subject: sunrpc: Avoid comma separated statements X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ca65a280fb4bc06baa6ea33f42631e489e462604;p=linux.git sunrpc: Avoid comma separated statements Use semicolons and braces. Signed-off-by: Joe Perches Signed-off-by: David S. Miller --- diff --git a/net/sunrpc/sysctl.c b/net/sunrpc/sysctl.c index 999eee1ed61c9..6c86e2a7d9422 100644 --- a/net/sunrpc/sysctl.c +++ b/net/sunrpc/sysctl.c @@ -108,8 +108,10 @@ proc_dodebug(struct ctl_table *table, int write, void *buffer, size_t *lenp, left -= (s - tmpbuf); if (left && !isspace(*s)) return -EINVAL; - while (left && isspace(*s)) - left--, s++; + while (left && isspace(*s)) { + left--; + s++; + } } else left = 0; *(unsigned int *) table->data = value;