Re: [PATCH 00/25] treewide: Use bool function return values of true/false not 1/0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Casey Schaufler <casey@xxxxxxxxxxxxxxxx>
- Subject: Re: [PATCH 00/25] treewide: Use bool function return values of true/false not 1/0
- From: Joe Perches <joe@xxxxxxxxxxx>
- Date: Mon, 30 Mar 2015 17:14:48 -0700
- Cc: linux-kernel@xxxxxxxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, kvmarm@xxxxxxxxxxxxxxxxxxxxx, kvm@xxxxxxxxxxxxxxx, linux-omap@xxxxxxxxxxxxxxx, kvm-ppc@xxxxxxxxxxxxxxx, virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, linux-nfs@xxxxxxxxxxxxxxx, linux-ide@xxxxxxxxxxxxxxx, kgdb-bugreport@xxxxxxxxxxxxxxxxxxxxx, linux-mm@xxxxxxxxx, linux-pm@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxxxxxx, alsa-devel@xxxxxxxxxxxxxxxx, bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx, netfilter-devel@xxxxxxxxxxxxxxx, coreteam@xxxxxxxxxxxxx, patches@xxxxxxxxxxxxxxxxxxxxxxxxxxx, linux-hexagon@xxxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, linux-mips@xxxxxxxxxxxxxx, linuxppc-dev@xxxxxxxxxxxxxxxx, linux-s390@xxxxxxxxxxxxxxx, sparclinux@xxxxxxxxxxxxxxx, linux-scsi@xxxxxxxxxxxxxxx, linux-security-module@xxxxxxxxxxxxxxx
- In-reply-to: <5519E53B.5040504@schaufler-ca.com>
- List-id: <linux-ia64.vger.kernel.org>
- References: <cover.1427759009.git.joe@perches.com> <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 from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]