git: kernel: Use NULL for pointers.
Sascha Wildner
swildner at crater.dragonflybsd.org
Tue Jan 3 13:59:14 PST 2012
commit 4090d6ffa1823785f8178b599c8d75711c617a39
Author: Sascha Wildner <saw at online.de>
Date: Tue Jan 3 22:22:30 2012 +0100
kernel: Use NULL for pointers.
Summary of changes:
sys/boot/efi/libefi/efinet.c | 5 +-
sys/boot/efi/loader/main.c | 5 +-
sys/boot/pc32/libi386/biossmap.c | 3 +-
sys/bus/cam/cam_extend.c | 3 +-
sys/bus/cam/scsi/scsi_da.c | 2 +-
sys/bus/iicbus/pcf/pcf.c | 8 ++--
sys/bus/isa/i386/isa_compat.c | 19 +++----
sys/bus/isa/pnp.c | 10 ++--
sys/bus/pccard/pccard.c | 6 +-
sys/bus/ppbus/ppbconf.c | 2 +-
sys/bus/usb/uhci.c | 4 +-
sys/bus/usb/usb.c | 2 +-
sys/bus/usb/usb_subr.c | 2 +-
sys/cpu/i386/misc/db_disasm.c | 12 ++--
sys/cpu/x86_64/misc/db_disasm.c | 12 ++--
sys/ddb/db_aout.c | 7 +--
sys/ddb/db_command.c | 12 ++--
sys/ddb/db_sym.c | 9 ++--
sys/dev/agp/agp.c | 2 +-
sys/dev/atm/hfa/fore_buffer.c | 5 +-
sys/dev/disk/aic/aic_isa.c | 4 +-
sys/dev/disk/aic/aic_pccard.c | 4 +-
sys/dev/disk/ata/atapi-cd.c | 3 +-
sys/dev/disk/buslogic/bt_isa.c | 4 +-
sys/dev/disk/buslogic/bt_pci.c | 4 +-
sys/dev/disk/isp/isp_pci.c | 16 +++---
sys/dev/disk/md/md.c | 8 ++--
sys/dev/disk/mps/mps_sas.c | 2 +-
sys/dev/disk/mpt/mpt_raid.c | 2 +-
sys/dev/disk/nata/atapi-cd.c | 3 +-
sys/dev/disk/ncr/ncr.c | 4 +-
sys/dev/disk/sym/sym_hipd.c | 56 ++++++++++----------
sys/dev/misc/nmdm/nmdm.c | 2 +-
sys/dev/misc/ppc/ppc.c | 6 +-
sys/dev/misc/pps/pps.c | 2 +-
sys/dev/misc/puc/puc.c | 2 +-
sys/dev/netif/de/if_de.c | 2 +-
sys/dev/netif/ed/if_ed.c | 4 +-
sys/dev/netif/ep/if_ep.c | 5 +-
sys/dev/netif/fe/if_fe.c | 5 +-
sys/dev/netif/ic/if_ic.c | 2 +-
sys/dev/netif/mn/if_mn.c | 16 +++---
sys/dev/netif/plip/if_plip.c | 4 +-
sys/dev/raid/aac/aac.c | 2 +-
sys/dev/raid/dpt/dpt_pci.c | 4 +-
sys/dev/raid/hptiop/hptiop.c | 2 +-
sys/dev/raid/hptmv/entry.c | 8 ++--
sys/dev/raid/hptmv/gui_lib.c | 8 ++--
sys/dev/raid/hptmv/hptproc.c | 2 +-
sys/dev/raid/hptmv/ioctl.c | 2 +-
sys/dev/raid/vinum/vinum.c | 2 +-
sys/dev/serial/stli/istallion.c | 8 ++--
sys/dev/sound/isa/ad1816.c | 8 ++--
sys/dev/sound/isa/ess.c | 8 ++--
sys/dev/sound/isa/mss.c | 14 +++---
sys/dev/sound/isa/sb16.c | 8 ++--
sys/dev/sound/isa/sb8.c | 6 +-
sys/dev/sound/pci/als4000.c | 10 ++--
sys/dev/sound/pci/aureal.c | 4 +-
sys/dev/sound/pci/fm801.c | 2 +-
sys/dev/sound/pci/neomagic.c | 2 +-
sys/dev/sound/pci/solo.c | 12 ++--
sys/dev/sound/pci/t4dwave.c | 2 +-
sys/dev/sound/pci/via8233.c | 4 +-
sys/dev/sound/pci/via82c686.c | 4 +-
sys/dev/sound/usb/uaudio.c | 4 +-
sys/dev/usbmisc/ugen/ugen.c | 10 ++--
sys/dev/usbmisc/uhid/uhid.c | 4 +-
sys/dev/usbmisc/urio/urio.c | 2 +-
sys/dev/usbmisc/uscanner/uscanner.c | 6 +-
.../linux/i386/linprocfs/linprocfs_vnops.c | 6 +-
sys/gnu/vfs/ext2fs/ext2_vfsops.c | 2 +-
sys/kern/kern_p1003_1b.c | 3 +-
sys/kern/kern_sysctl.c | 4 +-
sys/kern/kern_time.c | 2 +-
sys/kern/link_elf.c | 5 +-
sys/kern/link_elf_obj.c | 6 +-
sys/kern/subr_bus.c | 4 +-
sys/kern/subr_prof.c | 2 +-
sys/kern/subr_rman.c | 17 +++---
sys/kern/tty_pty.c | 2 +-
sys/kern/tty_subr.c | 5 +-
sys/kern/uipc_socket.c | 10 ++--
sys/kern/uipc_usrreq.c | 3 +-
sys/kern/vfs_bio.c | 2 +-
sys/kern/vfs_subr.c | 8 ++--
sys/libkern/strtol.c | 3 +-
sys/libkern/strtoq.c | 3 +-
sys/libkern/strtoul.c | 3 +-
sys/libkern/strtouq.c | 3 +-
sys/net/bpf_filter.c | 11 ++--
sys/net/bridge/if_bridge.c | 6 +-
sys/net/disc/if_disc.c | 5 +-
sys/net/ef/if_ef.c | 2 +-
sys/net/faith/if_faith.c | 3 +-
sys/net/gre/if_gre.c | 2 +-
sys/net/i4b/capi/iavc/iavc_isa.c | 2 +-
sys/net/i4b/capi/iavc/iavc_lli.c | 3 +-
sys/net/i4b/capi/iavc/iavc_pci.c | 2 +-
sys/net/i4b/driver/i4b_tel.c | 8 ++--
sys/net/i4b/layer1/ifpi/i4b_ifpi_pci.c | 2 +-
sys/net/i4b/layer1/ifpi2/i4b_ifpi2_pci.c | 2 +-
sys/net/i4b/layer1/ifpnp/i4b_ifpnp_avm.c | 2 +-
sys/net/i4b/layer1/ihfc/i4b_ihfc_pnp.c | 4 +-
sys/net/i4b/layer1/isic/i4b_avm_a1.c | 5 +-
sys/net/i4b/layer1/isic/i4b_elsa_pcc16.c | 5 +-
sys/net/i4b/layer1/isic/i4b_elsa_qs1p.c | 2 +-
sys/net/i4b/layer1/isic/i4b_isic_pnp.c | 4 +-
sys/net/i4b/layer1/isic/i4b_itk_ix1.c | 5 +-
sys/net/i4b/layer1/isic/i4b_tel_s016.c | 5 +-
sys/net/i4b/layer1/isic/i4b_tel_s0163.c | 5 +-
sys/net/i4b/layer1/isic/i4b_tel_s08.c | 5 +-
sys/net/i4b/layer1/isic/i4b_usr_sti.c | 7 +--
sys/net/i4b/layer1/itjc/i4b_itjc_pci.c | 2 +-
sys/net/i4b/layer1/iwic/i4b_iwic_pci.c | 2 +-
sys/net/if.c | 18 +++---
sys/net/if_ethersubr.c | 4 +-
sys/net/if_loop.c | 4 +-
sys/net/ip6fw/ip6_fw.c | 19 +++----
sys/net/ip_mroute/ip_mroute.c | 3 +-
sys/net/ppp/if_ppp.c | 10 ++--
sys/net/sppp/if_spppsubr.c | 6 +-
sys/net/tun/if_tun.c | 4 +-
sys/netgraph/socket/ng_socket.c | 2 +-
sys/netgraph7/atm/ccatm/ng_ccatm.c | 4 +-
sys/netgraph7/ng_socket.c | 4 +-
sys/netgraph7/ng_source.c | 3 +-
sys/netinet/igmp.c | 2 +-
sys/netinet/ip_icmp.c | 9 ++--
sys/netinet/ip_output.c | 2 +-
sys/netinet/raw_ip.c | 5 +-
sys/netinet/sctp_input.c | 4 +-
sys/netinet/sctp_usrreq.c | 8 ++--
sys/netinet/sctputil.c | 2 +-
sys/netinet/tcp_debug.c | 3 +-
sys/netinet/tcp_input.c | 4 +-
sys/netinet/tcp_usrreq.c | 2 +-
sys/netinet6/ah_input.c | 5 +-
sys/netinet6/esp_input.c | 5 +-
sys/netinet6/icmp6.c | 5 +-
sys/netinet6/in6.c | 2 +-
sys/netinet6/in6_pcb.c | 4 +-
sys/netinet6/in6_prefix.c | 5 +-
sys/netinet6/in6_src.c | 26 +++++-----
sys/netinet6/ip6_input.c | 6 +-
sys/netinet6/nd6_rtr.c | 3 +-
sys/netinet6/raw_ip6.c | 4 +-
sys/netinet6/udp6_output.c | 3 +-
sys/netinet6/udp6_usrreq.c | 3 +-
sys/netproto/atm/atm_cm.c | 5 +-
sys/netproto/atm/spans/spans_arp.c | 3 +-
sys/netproto/atm/spans/spans_cls.c | 5 +-
sys/netproto/atm/uni/unisig_msg.c | 5 +-
sys/netproto/ipsec/ipsec_mbuf.c | 3 +-
sys/netproto/ipsec/key.c | 2 +-
sys/netproto/ipsec/keysock.c | 8 ++--
sys/netproto/ipsec/xform_ipcomp.c | 3 +-
sys/netproto/ipsec/xform_ipip.c | 5 +-
sys/netproto/ipx/ipx_input.c | 3 +-
sys/netproto/ipx/ipx_pcb.c | 2 +-
sys/netproto/ipx/spx_debug.c | 3 +-
sys/netproto/ipx/spx_usrreq.c | 4 +-
sys/netproto/key/key.c | 2 +-
sys/netproto/key/keysock.c | 6 +-
sys/netproto/ncp/ncp_rq.c | 7 +--
sys/netproto/ncp/ncp_sock.c | 4 +-
sys/platform/pc32/i386/db_interface.c | 9 ++--
sys/platform/pc32/i386/dump_machdep.c | 2 +-
sys/platform/pc32/i386/mptable.c | 5 +-
sys/platform/pc32/i386/nexus.c | 4 +-
sys/platform/pc32/i386/pmap.c | 4 +-
sys/platform/pc32/isa/npx.c | 6 +-
sys/platform/pc64/x86_64/db_interface.c | 8 ++--
sys/platform/pc64/x86_64/db_trace.c | 2 +-
sys/platform/pc64/x86_64/dump_machdep.c | 2 +-
sys/platform/pc64/x86_64/nexus.c | 4 +-
sys/platform/pc64/x86_64/pmap.c | 4 +-
sys/platform/vkernel/i386/db_interface.c | 9 ++--
sys/platform/vkernel/i386/db_trace.c | 2 +-
sys/platform/vkernel/platform/pmap.c | 2 +-
sys/platform/vkernel64/platform/init.c | 4 +-
sys/platform/vkernel64/platform/pmap.c | 2 +-
sys/platform/vkernel64/x86_64/db_interface.c | 9 ++--
sys/platform/vkernel64/x86_64/db_trace.c | 2 +-
sys/vfs/hpfs/hpfs_vfsops.c | 2 +-
sys/vfs/isofs/cd9660/cd9660_lookup.c | 3 +-
sys/vfs/isofs/cd9660/cd9660_vfsops.c | 6 +-
sys/vfs/msdosfs/msdosfs_conv.c | 4 +-
sys/vfs/msdosfs/msdosfs_fat.c | 5 +-
sys/vfs/msdosfs/msdosfs_lookup.c | 5 +-
sys/vfs/nfs/nfs_node.c | 4 +-
sys/vfs/nfs/nfs_socket.c | 4 +-
sys/vfs/nfs/nfs_srvcache.c | 4 +-
sys/vfs/nfs/nfs_syscalls.c | 2 +-
sys/vfs/portal/portal_vnops.c | 10 ++--
sys/vfs/procfs/procfs_status.c | 4 +-
sys/vfs/udf/udf_vfsops.c | 3 +-
sys/vfs/ufs/ffs_alloc.c | 5 +-
sys/vfs/ufs/ffs_softdep.c | 10 ++--
sys/vfs/ufs/ffs_vfsops.c | 2 +-
sys/vfs/union/union_subr.c | 6 +-
sys/vfs/union/union_vfsops.c | 7 +--
sys/vm/vm_zone.c | 5 +-
203 files changed, 498 insertions(+), 568 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4090d6ffa1823785f8178b599c8d75711c617a39
--
DragonFly BSD source repository
More information about the Commits
mailing list