mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
70cb4a4526
commit
cc2afe9fe2
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue