aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorHimangi Saraogi <himangi774@gmail.com>2014-05-30 11:48:12 -0400
committerDavid S. Miller <davem@davemloft.net>2014-05-30 20:48:58 -0400
commit47162c0b7e26ef29e1e7ab030c95e60dd07526dc (patch)
treef3ab4df0bd303df8e6c3286bab60b324bccef102 /net
parent01728371dc261c876d07e9228a55a096b6d9a1f9 (diff)
af_key: Replace comma with semicolon
This patch replaces a comma between expression statements by a semicolon. A simplified version of the semantic patch that performs this transformation is as follows: // <smpl> @r@ expression e1,e2,e; type T; identifier i; @@ e1 -, +; e2; // </smpl> Signed-off-by: Himangi Saraogi <himangi774@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/key/af_key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/key/af_key.c b/net/key/af_key.c
index b47f8e542aae..ba2a2f95911c 100644
--- a/net/key/af_key.c
+++ b/net/key/af_key.c
@@ -2541,7 +2541,7 @@ static int pfkey_migrate(struct sock *sk, struct sk_buff *skb,
2541 sel.sport_mask = htons(0xffff); 2541 sel.sport_mask = htons(0xffff);
2542 2542
2543 /* set destination address info of selector */ 2543 /* set destination address info of selector */
2544 sa = ext_hdrs[SADB_EXT_ADDRESS_DST - 1], 2544 sa = ext_hdrs[SADB_EXT_ADDRESS_DST - 1];
2545 pfkey_sadb_addr2xfrm_addr(sa, &sel.daddr); 2545 pfkey_sadb_addr2xfrm_addr(sa, &sel.daddr);
2546 sel.prefixlen_d = sa->sadb_address_prefixlen; 2546 sel.prefixlen_d = sa->sadb_address_prefixlen;
2547 sel.proto = pfkey_proto_to_xfrm(sa->sadb_address_proto); 2547 sel.proto = pfkey_proto_to_xfrm(sa->sadb_address_proto);