summaryrefslogtreecommitdiffstats
path: root/net/mpls
diff options
context:
space:
mode:
authorSuraj Deshmukh <surajssd009005@gmail.com>2016-12-03 07:59:26 +0000
committerDavid S. Miller <davem@davemloft.net>2016-12-05 13:25:55 -0500
commit14dd3e1b970feb125e4f453bc3b0569db5b2069b (patch)
treef003190ffc7a85ac41566454504b134917847cd7 /net/mpls
parent89aa8445cd4e8c2556c40d42dd0ceb2cbb96ba78 (diff)
downloadtalos-obmc-linux-14dd3e1b970feb125e4f453bc3b0569db5b2069b.tar.gz
talos-obmc-linux-14dd3e1b970feb125e4f453bc3b0569db5b2069b.zip
net: af_mpls.c add space before open parenthesis
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>
Diffstat (limited to 'net/mpls')
-rw-r--r--net/mpls/af_mpls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mpls/af_mpls.c b/net/mpls/af_mpls.c
index 0e4334cbde17..15fe97644ffe 100644
--- a/net/mpls/af_mpls.c
+++ b/net/mpls/af_mpls.c
@@ -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;
OpenPOWER on IntegriCloud