Skip to contentSkip to conversation

RDS/RDMA: Replace comma with semicolon

PATCH Applied Himangi Saraogi 2 participants 2 messages May 30, 2014 – May 31, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RDS/RDMA: 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>

---
To send to: Chien Yen <[email protected]>,"David S. Miller" <[email protected]>,[email protected],[email protected],[email protected]

 net/rds/rdma_transport.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/rds/rdma_transport.c +1 -1
index c2be901..6cd9d1d 100644
@@ -168,7 +168,7 @@ static int rds_rdma_listen_init(void)
 		return ret;
 	}
 
-	sin.sin_family = AF_INET,
+	sin.sin_family = AF_INET;
 	sin.sin_addr.s_addr = (__force u32)htonl(INADDR_ANY);
 	sin.sin_port = (__force u16)htons(RDS_PORT);
 
Signature · 1 line
1.9.1