git: kernel: Use NULL instead of 0 for pointers, part 1/x.
Sascha Wildner
swildner at crater.dragonflybsd.org
Mon Sep 10 14:48:54 PDT 2012
commit d806189283aa393ee2df07fa0be81572846e80b6
Author: Sascha Wildner <saw at online.de>
Date: Mon Sep 10 23:37:54 2012 +0200
kernel: Use NULL instead of 0 for pointers, part 1/x.
Found-with: Coccinelle (http://coccinelle.lip6.fr/)
Summary of changes:
sys/bus/firewire/fwohci.c | 5 ++---
sys/bus/isa/pnp.c | 6 +++---
sys/ddb/db_kld.c | 3 +--
sys/dev/disk/mpt/mpt_pci.c | 2 +-
sys/dev/disk/nata/ata-pci.c | 6 +++---
sys/dev/disk/trm/trm.c | 10 +++++-----
sys/dev/netif/cs/if_cs.c | 6 +++---
sys/dev/raid/hpt27xx/osm_bsd.c | 10 +++++-----
sys/dev/raid/hptmv/array.h | 2 +-
sys/dev/raid/hptmv/gui_lib.c | 4 ++--
sys/dev/raid/hptrr/hptrr_osm_bsd.c | 12 ++++++------
sys/gnu/vfs/ext2fs/ext2_vfsops.c | 2 +-
sys/kern/init_main.c | 2 +-
sys/kern/kern_linker.c | 14 +++++++-------
sys/kern/kern_sig.c | 2 +-
sys/kern/link_elf.c | 10 +++++-----
sys/kern/subr_bus.c | 24 ++++++++++++------------
sys/kern/tty_pty.c | 2 +-
sys/kern/uipc_mbuf.c | 4 ++--
sys/net/ip6fw/ip6_fw.c | 2 +-
sys/netinet6/in6.c | 6 +++---
sys/netproto/ipsec/keysock.c | 2 +-
sys/netproto/ipx/ipx_pcb.c | 2 +-
sys/netproto/key/key.c | 2 +-
sys/netproto/key/keysock.c | 2 +-
sys/opencrypto/cryptosoft.c | 4 ++--
sys/platform/pc32/i386/machdep.c | 2 +-
sys/platform/pc32/i386/vm_machdep.c | 4 ++--
sys/platform/pc64/x86_64/machdep.c | 2 +-
sys/platform/pc64/x86_64/vm_machdep.c | 4 ++--
sys/platform/vkernel/i386/vm_machdep.c | 4 ++--
sys/platform/vkernel64/x86_64/vm_machdep.c | 4 ++--
sys/vfs/fdesc/fdesc_vfsops.c | 2 +-
sys/vfs/hpfs/hpfs_vfsops.c | 2 +-
sys/vfs/msdosfs/msdosfs_vfsops.c | 3 +--
sys/vfs/ntfs/ntfs_vfsops.c | 2 +-
sys/vfs/procfs/procfs_vfsops.c | 3 +--
sys/vfs/ufs/ffs_softdep.c | 8 ++++----
38 files changed, 91 insertions(+), 95 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d806189283aa393ee2df07fa0be81572846e80b6
--
DragonFly BSD source repository
More information about the Commits
mailing list