Skip to content

treewide: Use bool function return values of true/false not 1/0

Joe Perches alsa-devel bridge kvm kvm-ppc kvmarm linux-arm-kernel linux-fsdevel linux-hexagon linux-ia64 linux-ide linux-mips linux-mm linux-nfs linux-omap linux-pm linux-s390 linux-scsi linuxppc-dev lkml netdev netfilter-devel sparclinux virtualization 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest25 patches 46 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/25arm: Use bool function return values of true/false not 1/0arch/arm/include/asm/dma-mapping.h arch/arm/include/asm/kvm_emulate.h arch/arm/mach-omap2/powerdomain.c+12 -123 replies
2/25arm64: Use bool function return values of true/false not 1/0arch/arm64/include/asm/dma-mapping.h+1 -11 reply
3/25hexagon: Use bool function return values of true/false not 1/0arch/hexagon/include/asm/dma-mapping.h+1 -10 replies
4/25ia64: Use bool function return values of true/false not 1/0arch/ia64/include/asm/dma-mapping.h+1 -10 replies
5/25mips: Use bool function return values of true/false not 1/0arch/mips/include/asm/dma-mapping.h+1 -10 replies
6/25powerpc: Use bool function return values of true/false not 1/0arch/powerpc/include/asm/dcr-native.h arch/powerpc/include/asm/dma-mapping.h arch/powerpc/include/asm/kvm_book3s_64.h +1 more+6 -62 replies
7/25s390: Use bool function return values of true/false not 1/0arch/s390/include/asm/dma-mapping.h+1 -11 reply
8/25sparc: Use bool function return values of true/false not 1/0arch/sparc/mm/init_64.c+4 -40 replies
9/25tile: Use bool function return values of true/false not 1/0arch/tile/include/asm/dma-mapping.h+1 -10 replies
10/25unicore32: Use bool function return values of true/false not 1/0arch/unicore32/include/asm/dma-mapping.h+1 -10 replies
11/25x86: Use bool function return values of true/false not 1/0arch/x86/include/asm/archrandom.h arch/x86/include/asm/dma-mapping.h arch/x86/include/asm/kvm_para.h +2 more+40 -401 reply
12/25virtio_console: Use bool function return values of true/false not 1/0drivers/char/virtio_console.c+1 -10 replies
12/25virtio_console: Use bool function return values of true/false not 1/0drivers/char/virtio_console.c+1 -11 reply
13/25csiostor: Use bool function return values of true/false not 1/0drivers/scsi/csiostor/csio_scsi.c+2 -20 replies
14/25dcache: Use bool function return values of true/false not 1/0fs/dcache.c+6 -60 replies
15/25nfsd: nfs4state: Use bool function return values of true/false not 1/0fs/nfsd/nfs4state.c+1 -10 replies
16/25include/linux: Use bool function return values of true/false not 1/0include/linux/blkdev.h include/linux/ide.h include/linux/kgdb.h +5 more+18 -182 replies
17/25sound: Use bool function return values of true/false not 1/0include/sound/soc.h+2 -21 reply
18/25rcu: tree_plugin: Use bool function return values of true/false not 1/0kernel/rcu/tree_plugin.h+2 -20 replies
19/25sched: Use bool function return values of true/false not 1/0kernel/sched/auto_group.h kernel/sched/completion.c+10 -827 replies
20/25ftrace: Use bool function return values of true/false not 1/0kernel/trace/ftrace.c+5 -50 replies
21/25slub: Use bool function return values of true/false not 1/0mm/slub.c+6 -61 reply
22/25bridge: Use bool function return values of true/false not 1/0net/bridge/br_private.h+1 -10 replies
23/25netfilter: Use bool function return values of true/false not 1/0net/ipv4/netfilter/ipt_ah.c net/netfilter/ipset/ip_set_hash_ip.c net/netfilter/ipset/ip_set_hash_ipmark.c +10 more+40 -401 reply
24/25security: Use bool function return values of true/false not 1/0security/apparmor/file.c security/apparmor/policy.c+9 -91 reply
25/25sound: wm5100-tables: Use bool function return values of true/false not 1/0sound/soc/codecs/wm5100-tables.c+6 -61 reply

Reviews trailers per patch

9 of 26 patches have a Reviewed-by or Acked-by.

PatchBenjamin HerrenschmidtAmit ShahJohn JohansenLee JonesTony LindgrenMarc ZyngierPablo Neira AyusoDavid RientjesCharles KeepaxSebastian Reichel
1/25A-b A-b
2/25
3/25
4/25
5/25
6/25A-b
7/25
8/25
9/25
10/25
11/25
12/25R-b
12/25R-b
13/25
14/25
15/25
16/25A-b A-b
17/25
18/25
19/25
20/25
21/25A-b
22/25
23/25A-b
24/25A-b
25/25A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 10 reviewers.

Read the v1 thread

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

Joe Perches (25):
arm: Use bool function return values of true/false not 1/0
arm64: Use bool function return values of true/false not 1/0
hexagon: Use bool function return values of true/false not 1/0
ia64: Use bool function return values of true/false not 1/0
mips: Use bool function return values of true/false not 1/0
powerpc: Use bool function return values of true/false not 1/0
s390: Use bool function return values of true/false not 1/0
sparc: Use bool function return values of true/false not 1/0
tile: Use bool function return values of true/false not 1/0
unicore32: Use bool function return values of true/false not 1/0
x86: Use bool function return values of true/false not 1/0
virtio_console: Use bool function return values of true/false not 1/0
csiostor: Use bool function return values of true/false not 1/0
dcache: Use bool function return values of true/false not 1/0
nfsd: nfs4state: Use bool function return values of true/false not 1/0 include/linux: Use bool function return values of true/false not 1/0
sound: Use bool function return values of true/false not 1/0
rcu: tree_plugin: Use bool function return values of true/false not 1/0
sched: Use bool function return values of true/false not 1/0
ftrace: Use bool function return values of true/false not 1/0
slub: Use bool function return values of true/false not 1/0
bridge: Use bool function return values of true/false not 1/0
netfilter: Use bool function return values of true/false not 1/0
security: Use bool function return values of true/false not 1/0
sound: wm5100-tables: Use bool function return values of true/false not 1/0

 arch/arm/include/asm/dma-mapping.h           |  8 ++--
 arch/arm/include/asm/kvm_emulate.h           |  2 +-
 arch/arm/mach-omap2/powerdomain.c            | 14 +++---
 arch/arm64/include/asm/dma-mapping.h         |  2 +-
 arch/hexagon/include/asm/dma-mapping.h       |  2 +-
 arch/ia64/include/asm/dma-mapping.h          |  2 +-
 arch/mips/include/asm/dma-mapping.h          |  2 +-
 arch/powerpc/include/asm/dcr-native.h        |  2 +-
 arch/powerpc/include/asm/dma-mapping.h       |  4 +-
 arch/powerpc/include/asm/kvm_book3s_64.h     |  4 +-
 arch/powerpc/sysdev/dcr.c                    |  2 +-
 arch/s390/include/asm/dma-mapping.h          |  2 +-
 arch/sparc/mm/init_64.c                      |  8 ++--
 arch/tile/include/asm/dma-mapping.h          |  2 +-
 arch/unicore32/include/asm/dma-mapping.h     |  2 +-
 arch/x86/include/asm/archrandom.h            |  2 +-
 arch/x86/include/asm/dma-mapping.h           |  2 +-
 arch/x86/include/asm/kvm_para.h              |  2 +-
 arch/x86/kvm/cpuid.h                         |  2 +-
 arch/x86/kvm/vmx.c                           | 72 ++++++++++++++--------------
 drivers/char/virtio_console.c                |  2 +-
 drivers/scsi/csiostor/csio_scsi.c            |  4 +-
 fs/dcache.c                                  | 12 ++---
 fs/nfsd/nfs4state.c                          |  2 +-
 include/linux/blkdev.h                       |  2 +-
 include/linux/ide.h                          |  2 +-
 include/linux/kgdb.h                         |  2 +-
 include/linux/mfd/db8500-prcmu.h             |  2 +-
 include/linux/mm.h                           |  2 +-
 include/linux/power_supply.h                 |  8 ++--
 include/linux/ssb/ssb_driver_extif.h         |  2 +-
 include/linux/ssb/ssb_driver_gige.h          | 16 +++----
 include/sound/soc.h                          |  4 +-
 kernel/rcu/tree_plugin.h                     |  4 +-
 kernel/sched/auto_group.h                    |  2 +-
 kernel/sched/completion.c                    | 16 ++++---
 kernel/trace/ftrace.c                        | 10 ++--
 mm/slub.c                                    | 12 ++---
 net/bridge/br_private.h                      |  2 +-
 net/ipv4/netfilter/ipt_ah.c                  |  2 +-
 net/netfilter/ipset/ip_set_hash_ip.c         |  8 ++--
 net/netfilter/ipset/ip_set_hash_ipmark.c     |  8 ++--
 net/netfilter/ipset/ip_set_hash_ipport.c     |  8 ++--
 net/netfilter/ipset/ip_set_hash_ipportip.c   |  8 ++--
 net/netfilter/ipset/ip_set_hash_ipportnet.c  |  8 ++--
 net/netfilter/ipset/ip_set_hash_net.c        |  8 ++--
 net/netfilter/ipset/ip_set_hash_netiface.c   |  8 ++--
 net/netfilter/ipset/ip_set_hash_netport.c    |  8 ++--
 net/netfilter/ipset/ip_set_hash_netportnet.c |  8 ++--
 net/netfilter/xt_connlimit.c                 |  2 +-
 net/netfilter/xt_hashlimit.c                 |  2 +-
 net/netfilter/xt_ipcomp.c                    |  2 +-
 security/apparmor/file.c                     |  8 ++--
 security/apparmor/policy.c                   | 10 ++--
 sound/soc/codecs/wm5100-tables.c             | 12 ++---
 55 files changed, 178 insertions(+), 176 deletions(-)
Signature · 7 lines
2.1.2

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