2020-09-21 06:40:52

by Xu Wang

[permalink] [raw]
Subject: [PATCH] ipv6: route: convert comma to semicolon

Replace a comma between expression statements by a semicolon.

Signed-off-by: Xu Wang <[email protected]>
---
net/ipv6/route.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index 5e7e25e2523a..fb075d9545b9 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -4202,7 +4202,7 @@ static struct fib6_info *rt6_add_route_info(struct net *net,
.fc_nlinfo.nl_net = net,
};

- cfg.fc_table = l3mdev_fib_table(dev) ? : RT6_TABLE_INFO,
+ cfg.fc_table = l3mdev_fib_table(dev) ? : RT6_TABLE_INFO;
cfg.fc_dst = *prefix;
cfg.fc_gateway = *gwaddr;

--
2.17.1


2020-09-21 21:54:26

by David Miller

[permalink] [raw]
Subject: Re: [PATCH] ipv6: route: convert comma to semicolon

From: Xu Wang <[email protected]>
Date: Mon, 21 Sep 2020 06:38:56 +0000

> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Xu Wang <[email protected]>

Applied, thanks.