Message ID | 20170216213400.GA47728@lkp-hsx03.lkp.intel.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
From: kbuild test robot <lkp@intel.com> Date: Fri, 17 Feb 2017 05:34:03 +0800 > net/core/utils.c:388:2-3: Unneeded semicolon > > > Remove unneeded semicolon. > > Generated by: scripts/coccinelle/misc/semicolon.cocci > > CC: Sagi Grimberg <sagi@grimberg.me> > Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> > --- > > utils.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- a/net/core/utils.c > +++ b/net/core/utils.c > @@ -385,7 +385,7 @@ int inet_pton_with_scope(struct net *net I have no idea what tree this could be against, as net/core/utils.c doesn't have more than 351 lines in any tree I maintain. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Fri, Feb 17, 2017 at 01:52:54PM -0500, David Miller wrote: > From: kbuild test robot <lkp@intel.com> > Date: Fri, 17 Feb 2017 05:34:03 +0800 > > > net/core/utils.c:388:2-3: Unneeded semicolon > > > > > > Remove unneeded semicolon. > > > > Generated by: scripts/coccinelle/misc/semicolon.cocci > > > > CC: Sagi Grimberg <sagi@grimberg.me> > > Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> > > --- > > > > utils.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > --- a/net/core/utils.c > > +++ b/net/core/utils.c > > @@ -385,7 +385,7 @@ int inet_pton_with_scope(struct net *net > > I have no idea what tree this could be against, as net/core/utils.c doesn't > have more than 351 lines in any tree I maintain. I think this is just an auto-generated patch based on a 0-day internal tree that applied the patch it's proposing to fix. The robot script may be a jumping the gun here for sending this. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Dave, On Fri, Feb 17, 2017 at 01:52:54PM -0500, David Miller wrote: >From: kbuild test robot <lkp@intel.com> >Date: Fri, 17 Feb 2017 05:34:03 +0800 > >> net/core/utils.c:388:2-3: Unneeded semicolon >> >> >> Remove unneeded semicolon. >> >> Generated by: scripts/coccinelle/misc/semicolon.cocci >> >> CC: Sagi Grimberg <sagi@grimberg.me> >> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> >> --- >> >> utils.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> --- a/net/core/utils.c >> +++ b/net/core/utils.c >> @@ -385,7 +385,7 @@ int inet_pton_with_scope(struct net *net > >I have no idea what tree this could be against, as net/core/utils.c doesn't >have more than 351 lines in any tree I maintain. You can ignore it -- the cocci fix is for Sagi Grimberg's RFC patch which can be judged by looking at the thread: Feb 17 To Sagi Grimber ( 22:0) -->Re: [PATCH rfc 1/4] net/utils: generic inet_pton_with_scope helper Feb 17 To Sagi Grimber ( 29:0) `->[PATCH] net/utils: fix semicolon.cocci warnings Thanks, Fengguang -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
--- a/net/core/utils.c +++ b/net/core/utils.c @@ -385,7 +385,7 @@ int inet_pton_with_scope(struct net *net break; default: pr_err("unexpected address family %d\n", af); - }; + } return -EINVAL; }
net/core/utils.c:388:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> --- utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html