af_key: Replace comma with semicolon
Subsystems (3)
PATCH 1/1 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 <[email protected]>
Acked-by Julia Lawall <[email protected]>
--- net/key/af_key.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/key/af_key.c +1 -1
@@ -2541,7 +2541,7 @@ static int pfkey_migrate(struct sock *sk, struct sk_buff *skb, sel.sport_mask =htons (0xffff );/* set destination address info of selector */ - sa = ext_hdrs[SADB_EXT_ADDRESS_DST -1 ], + sa = ext_hdrs[SADB_EXT_ADDRESS_DST -1 ];pfkey_sadb_addr2xfrm_addr (sa, &sel.daddr); sel.prefixlen_d = sa->sadb_address_prefixlen; sel.proto =pfkey_proto_to_xfrm (sa->sadb_address_proto);
Signature · 1 line
1.9.1
From: Himangi Saraogi <[email protected]>
Date: Fri, 30 May 2014 21:18:12 +0530
Quoted 4 lines
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:
...
Quoted 2 lines
Signed-off-by Himangi Saraogi <[email protected]>Acked-by Julia Lawall <[email protected]>
Applied.