LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Cc: kbuild test robot <fengguang.wu@intel.com>,
	kbuild-all@01.org, Patrick McHardy <kaber@trash.net>,
	netfilter-devel@vger.kernel.org, coreteam@netfilter.org,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] netfilter: ipset: fix boolreturn.cocci warnings
Date: Wed, 11 Mar 2015 20:12:40 +0100	[thread overview]
Message-ID: <20150311191240.GA9577@salvia> (raw)
In-Reply-To: <alpine.DEB.2.10.1503112008001.12147@blackhole.kfki.hu>

Hi Jozsef,

On Wed, Mar 11, 2015 at 08:08:26PM +0100, Jozsef Kadlecsik wrote:
> On Wed, 11 Feb 2015, kbuild test robot wrote:
> 
> > net/netfilter/xt_set.c:196:9-10: WARNING: return of 0/1 in function 'set_match_v3' with return type bool
> > net/netfilter/xt_set.c:242:9-10: WARNING: return of 0/1 in function 'set_match_v4' with return type bool
> > 
> >  Return statements in functions returning bool should use
> >  true/false instead of 1/0.
> > Generated by: scripts/coccinelle/misc/boolreturn.cocci
> > 
> > CC: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
> > Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> 
> Patch is applied, thanks.

I took the liberty to pass this to David already.

7f73b9f netfilter: ipset: fix boolreturn.cocci warnings

  reply	other threads:[~2015-03-11 19:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201502112043.OvntWCjd%fengguang.wu@intel.com>
2015-02-11 12:33 ` kbuild test robot
2015-02-11 14:40   ` Pablo Neira Ayuso
2015-02-11 14:50     ` Jozsef Kadlecsik
2015-03-11 19:08   ` Jozsef Kadlecsik
2015-03-11 19:12     ` Pablo Neira Ayuso [this message]
2015-03-11 19:21       ` Jozsef Kadlecsik

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=20150311191240.GA9577@salvia \
    --to=pablo@netfilter.org \
    --cc=coreteam@netfilter.org \
    --cc=fengguang.wu@intel.com \
    --cc=kaber@trash.net \
    --cc=kadlec@blackhole.kfki.hu \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=netfilter-devel@vger.kernel.org \
    --subject='Re: [PATCH] netfilter: ipset: fix boolreturn.cocci warnings' \
    /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

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).