public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches•com>
To: Casey Schaufler <casey@schaufler-ca•com>
Cc: linux-kernel@vger•kernel.org,
	linux-arm-kernel@lists•infradead.org,
	kvmarm@lists•cs.columbia.edu, kvm@vger•kernel.org,
	linux-omap@vger•kernel.org,  kvm-ppc@vger•kernel.org,
	virtualization@lists•linux-foundation.org,
	 linux-fsdevel@vger•kernel.org, linux-nfs@vger•kernel.org,
	 linux-ide@vger•kernel.org, kgdb-bugreport@lists•sourceforge.net,
	 linux-mm@kvack•org, linux-pm@vger•kernel.org,
	netdev@vger•kernel.org, alsa-devel@alsa-project•org,
	bridge@lists•linux-foundation.org,
	netfilter-devel@vger•kernel.org, coreteam@netfilter•org,
	patches@opensource•wolfsonmicro.com,
	linux-hexagon@vger•kernel.org, linux-ia64@vger•kernel.org,
	linux-mips@linux-mips•org, linuxppc-dev@lists•ozlabs.org,
	linux-s390@vger•kernel.org, sparclinux@vger•kernel.org,
	linux-scsi@vger•kernel.org,
	linux-security-module@vger•kernel.org
Subject: Re: [PATCH 00/25] treewide: Use bool function return values of true/false not 1/0
Date: Mon, 30 Mar 2015 17:14:48 -0700	[thread overview]
Message-ID: <1427760888.14276.37.camel@perches.com> (raw)
In-Reply-To: <5519E53B.5040504@schaufler-ca.com>

On Mon, 2015-03-30 at 17:07 -0700, Casey Schaufler wrote:
> On 3/30/2015 4:45 PM, Joe Perches wrote:
> > Joe Perches (25):
> >   arm: Use bool function return values of true/false not 1/0

[etc...]

> Why, and why these in particular?

bool functions are probably better returning
bool values instead of 1 and 0.

Especially when the functions intermix returning
returning 1/0 and true/false.

(there are only a couple of those though)

These are all the remaining instances in the
kernel tree.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack•org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack•org"> email@kvack•org </a>

      reply	other threads:[~2015-03-31  0:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-30 23:45 [PATCH 00/25] treewide: Use bool function return values of true/false not 1/0 Joe Perches
2015-03-30 23:46 ` [PATCH 16/25] include/linux: " Joe Perches
2015-03-31  7:41   ` Lee Jones
2015-04-06 19:39   ` Sebastian Reichel
2015-03-30 23:46 ` [PATCH 22/25] bridge: " Joe Perches
2015-03-30 23:46 ` [PATCH 23/25] netfilter: " Joe Perches
2015-03-31 16:58   ` Pablo Neira Ayuso
2015-03-31  0:07 ` [PATCH 00/25] treewide: " Casey Schaufler
2015-03-31  0:14   ` Joe Perches [this message]

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=1427760888.14276.37.camel@perches.com \
    --to=joe@perches$(echo .)com \
    --cc=alsa-devel@alsa-project$(echo .)org \
    --cc=bridge@lists$(echo .)linux-foundation.org \
    --cc=casey@schaufler-ca$(echo .)com \
    --cc=coreteam@netfilter$(echo .)org \
    --cc=kgdb-bugreport@lists$(echo .)sourceforge.net \
    --cc=kvm-ppc@vger$(echo .)kernel.org \
    --cc=kvm@vger$(echo .)kernel.org \
    --cc=kvmarm@lists$(echo .)cs.columbia.edu \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-fsdevel@vger$(echo .)kernel.org \
    --cc=linux-hexagon@vger$(echo .)kernel.org \
    --cc=linux-ia64@vger$(echo .)kernel.org \
    --cc=linux-ide@vger$(echo .)kernel.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-mips@linux-mips$(echo .)org \
    --cc=linux-mm@kvack$(echo .)org \
    --cc=linux-nfs@vger$(echo .)kernel.org \
    --cc=linux-omap@vger$(echo .)kernel.org \
    --cc=linux-pm@vger$(echo .)kernel.org \
    --cc=linux-s390@vger$(echo .)kernel.org \
    --cc=linux-scsi@vger$(echo .)kernel.org \
    --cc=linux-security-module@vger$(echo .)kernel.org \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=netfilter-devel@vger$(echo .)kernel.org \
    --cc=patches@opensource$(echo .)wolfsonmicro.com \
    --cc=sparclinux@vger$(echo .)kernel.org \
    --cc=virtualization@lists$(echo .)linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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