net: the space is required before the open parenthesis '('
authorWei Tang <tangwei@cmss.chinamobile.com>
Mon, 27 Jun 2016 10:12:46 +0000 (18:12 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jun 2016 09:15:14 +0000 (05:15 -0400)
The space is missing before the open parenthesis '(', and this
will introduce much more noise when checking patch around.

Signed-off-by: Wei Tang <tangwei@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/utils.c

index 3d17ca8b4744168021e026afd78c9ec3c1a9a9cb..cf5622b9ccc44f065a2ac6ebafe707767f5fd633 100644 (file)
@@ -133,7 +133,7 @@ int in4_pton(const char *src, int srclen,
        s = src;
        d = dbuf;
        i = 0;
-       while(1) {
+       while (1) {
                int c;
                c = xdigit2bin(srclen > 0 ? *s : '\0', delim);
                if (!(c & (IN6PTON_DIGIT | IN6PTON_DOT | IN6PTON_DELIM | IN6PTON_COLON_MASK))) {
@@ -283,11 +283,11 @@ cont:
        i = 15; d--;
 
        if (dc) {
-               while(d >= dc)
+               while (d >= dc)
                        dst[i--] = *d--;
-               while(i >= dc - dbuf)
+               while (i >= dc - dbuf)
                        dst[i--] = 0;
-               while(i >= 0)
+               while (i >= 0)
                        dst[i--] = *d--;
        } else
                memcpy(dst, dbuf, sizeof(dbuf));