projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89aa844
)
net: af_mpls.c add space before open parenthesis
author
Suraj Deshmukh
<surajssd009005@gmail.com>
Sat, 3 Dec 2016 07:59:26 +0000
(07:59 +0000)
committer
David 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
patch
|
blob
|
history
diff --git
a/net/mpls/af_mpls.c
b/net/mpls/af_mpls.c
index
0e4334c
..
15fe976
100644
(file)
--- 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;