Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

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>

authored by

Himangi Saraogi and committed by
David S. Miller
cc2afe9f 70cb4a45

+1 -1
+1 -1
net/rds/rdma_transport.c
··· 168 168 return ret; 169 169 } 170 170 171 - sin.sin_family = AF_INET, 171 + sin.sin_family = AF_INET; 172 172 sin.sin_addr.s_addr = (__force u32)htonl(INADDR_ANY); 173 173 sin.sin_port = (__force u16)htons(RDS_PORT); 174 174