netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Roopa Prabhu <roopa@cumulusnetworks.com>
Cc: kbuild-all@01.org, ebiederm@xmission.com, rshearma@brocade.com,
	davem@davemloft.net, netdev@vger.kernel.org
Subject: [PATCH] mpls: fix semicolon.cocci warnings
Date: Tue, 3 Nov 2015 23:25:39 +0800	[thread overview]
Message-ID: <20151103152539.GA63052@cairo> (raw)
In-Reply-To: <1446562191-22416-1-git-send-email-roopa@cumulusnetworks.com>

net/mpls/af_mpls.c:722:22-23: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.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;
 
 	return 0;
 

  parent reply	other threads:[~2015-11-03 15:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-03 15:25 [PATCH net-next v3] mpls: support for dead routes kbuild test robot
2015-11-03 14:49 ` Roopa Prabhu
2015-11-03 15:15   ` Robert Shearman
2015-11-03 15:25   ` kbuild test robot [this message]
2015-11-03 16:17     ` [PATCH] mpls: fix semicolon.cocci warnings David Miller
2015-11-04  2:01       ` [kbuild-all] " Fengguang Wu
2015-11-04  6:50         ` Julia Lawall
2015-11-04 14:57           ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151103152539.GA63052@cairo \
    --to=lkp@intel.com \
    --cc=davem@davemloft.net \
    --cc=ebiederm@xmission.com \
    --cc=kbuild-all@01.org \
    --cc=netdev@vger.kernel.org \
    --cc=roopa@cumulusnetworks.com \
    --cc=rshearma@brocade.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).