[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20151103.111736.1351482614470057979.davem@davemloft.net>
Date: Tue, 03 Nov 2015 11:17:36 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: lkp@...el.com
Cc: roopa@...ulusnetworks.com, kbuild-all@...org,
ebiederm@...ssion.com, rshearma@...cade.com, netdev@...r.kernel.org
Subject: Re: [PATCH] mpls: fix semicolon.cocci warnings
From: kbuild test robot <lkp@...el.com>
Date: Tue, 3 Nov 2015 23:25:39 +0800
> net/mpls/af_mpls.c:722:22-23: Unneeded semicolon
>
>
> Remove unneeded semicolon.
>
> Generated by: scripts/coccinelle/misc/semicolon.cocci
>
> CC: Roopa Prabhu <roopa@...ulusnetworks.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
> ---
>
> af_mpls.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> --- a/net/mpls/af_mpls.c
> +++ b/net/mpls/af_mpls.c
> @@ -719,9 +719,9 @@ static int mpls_nh_build_multi(struct mp
>
> rtnh = rtnh_next(rtnh, &remaining);
> nhs++;
> - } endfor_nexthops(rt);
> + } endfor_nexthops(rt)
>
> - rt->rt_nhn = nhs;
> + rt->rt_nhn = nhs;
This new indentation of "rt->rt_nhn = nhs;" is not correct.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists