Thread (4 messages) 4 messages, 2 authors, 2015-03-31

Re: [PATCH 00/25] treewide: Use bool function return values of true/false not 1/0

From: Joe Perches <joe@perches.com>
Date: 2015-03-31 00:14:48
Also in: alsa-devel, bridge, kvm, kvmarm, linux-arm-kernel, linux-ide, linux-mips, linux-mm, linux-nfs, linux-omap, linux-pm, linux-s390, linux-scsi, linuxppc-dev, lkml, netdev, netfilter-devel, sparclinux

On Mon, 2015-03-30 at 17:07 -0700, Casey Schaufler wrote:
On 3/30/2015 4:45 PM, Joe Perches wrote:
quoted
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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help