net: af_mpls.c add space before open parenthesis
authorSuraj Deshmukh <surajssd009005@gmail.com>
Sat, 3 Dec 2016 07:59:26 +0000 (07:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Dec 2016 18:25:55 +0000 (13:25 -0500)
Adding space after switch keyword before open
parenthesis for readability purpose.

This patch fixes the checkpatch.pl warning:
space required before the open parenthesis '('

Signed-off-by: Suraj Deshmukh <surajssd009005@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mpls/af_mpls.c

index 0e4334cbde17519cf69bbc099127c0d81a626467..15fe97644ffe048c9b1d5818c0b1aec56eb988f4 100644 (file)
@@ -1252,7 +1252,7 @@ static int rtm_to_route_config(struct sk_buff *skb,  struct nlmsghdr *nlh,
                if (!nla)
                        continue;
 
-               switch(index) {
+               switch (index) {
                case RTA_OIF:
                        cfg->rc_ifindex = nla_get_u32(nla);
                        break;