git: kernel: Use NELEM() in some more places.

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Dec 4 07:38:36 PST 2011


commit b370aff7747b2e03ce9b829fbf2877dffdadfb64
Author: Sascha Wildner <saw at online.de>
Date:   Sun Dec 4 14:32:47 2011 +0100

    kernel: Use NELEM() in some more places.

Summary of changes:
 sys/bus/cam/cam.c                                  |    3 +--
 sys/bus/cam/cam_xpt.c                              |    5 ++---
 sys/bus/cam/scsi/scsi_all.c                        |    9 ++++-----
 sys/bus/cam/scsi/scsi_cd.c                         |    6 ++----
 sys/bus/cam/scsi/scsi_da.c                         |    2 +-
 sys/bus/cam/scsi/scsi_sa.c                         |    2 +-
 sys/dev/disk/advansys/adv_isa.c                    |    2 +-
 sys/dev/disk/advansys/advlib.c                     |    2 +-
 sys/dev/disk/advansys/adw_pci.c                    |    3 +--
 sys/dev/disk/isp/isp.c                             |    9 ++++-----
 sys/dev/misc/psm/psm.c                             |    3 +--
 sys/dev/netif/ae/if_ae.c                           |    4 ++--
 sys/dev/netif/lnc/if_lnc_isa.c                     |    6 ++----
 sys/dev/netif/mxge/if_mxge.c                       |    8 ++------
 sys/dev/netif/ndis/if_ndis.c                       |    4 ++--
 sys/dev/serial/rp/rp.c                             |    4 ++--
 sys/dev/serial/stl/stallion.c                      |    4 ++--
 sys/dev/sound/isa/gusc.c                           |    8 ++++----
 sys/dev/usbmisc/uchcom/uchcom.c                    |    2 +-
 sys/dev/video/bktr/bktr_core.c                     |    3 +--
 .../linux/i386/linprocfs/linprocfs_misc.c          |    2 +-
 sys/emulation/linux/i386/linux_sysvec.c            |    2 +-
 sys/kern/tty_conf.c                                |    3 +--
 sys/net/pf/pf.c                                    |    3 +--
 sys/netbt/hci_event.c                              |    3 +--
 sys/netgraph/iface/ng_iface.c                      |    2 +-
 sys/netgraph7/ng_gif_demux.c                       |    2 +-
 sys/netgraph7/ng_iface.c                           |    2 +-
 sys/netinet/tcp_syncache.c                         |    3 +--
 sys/netproto/ncp/ncp_mod.c                         |    3 +--
 sys/netproto/smb/smb_smb.c                         |    3 +--
 sys/platform/pc32/i386/machdep.c                   |    2 +-
 sys/platform/pc64/x86_64/amd64_mem.c               |    2 +-
 33 files changed, 50 insertions(+), 71 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b370aff7747b2e03ce9b829fbf2877dffdadfb64


-- 
DragonFly BSD source repository





More information about the Commits mailing list