Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Whitespace fix. No functional change.



details:   https://anonhg.NetBSD.org/src/rev/183d5c3f9da3
branches:  trunk
changeset: 744930:183d5c3f9da3
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Feb 18 03:48:22 2020 +0000

description:
Whitespace fix. No functional change.

diffstat:

 sys/dev/pci/if_re_pci.c |  8 ++++----
 sys/dev/pci/if_wm.c     |  6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (63 lines):

diff -r 0517521edf8e -r 183d5c3f9da3 sys/dev/pci/if_re_pci.c
--- a/sys/dev/pci/if_re_pci.c   Tue Feb 18 00:40:50 2020 +0000
+++ b/sys/dev/pci/if_re_pci.c   Tue Feb 18 03:48:22 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_re_pci.c,v 1.51 2020/01/30 00:36:29 jmcneill Exp $  */
+/*     $NetBSD: if_re_pci.c,v 1.52 2020/02/18 03:48:22 msaitoh Exp $   */
 
 /*
  * Copyright (c) 1997, 1998-2003
@@ -46,7 +46,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_re_pci.c,v 1.51 2020/01/30 00:36:29 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_re_pci.c,v 1.52 2020/02/18 03:48:22 msaitoh Exp $");
 
 #include <sys/types.h>
 
@@ -130,7 +130,7 @@
 {
        int i;
 
-       for(i = 0; i < __arraycount(re_devs); i++) {
+       for (i = 0; i < __arraycount(re_devs); i++) {
                if (PCI_VENDOR(pa->pa_id) != re_devs[i].rtk_vid)
                        continue;
                if (PCI_PRODUCT(pa->pa_id) == re_devs[i].rtk_did)
@@ -210,7 +210,7 @@
        case PCI_MAPREG_TYPE_MEM | PCI_MAPREG_MEM_TYPE_64BIT:
                memh_valid =
                    (pci_mapreg_map(pa, RTK_PCI_LOMEM,
-                       memtype, 0, &memt, &memh, NULL, &memsize) == 0) ||
+                       memtype, 0, &memt, &memh, NULL, &memsize) == 0) ||
                    (pci_mapreg_map(pa, RTK_PCI_LOMEM + 4,
                        PCI_MAPREG_TYPE_MEM | PCI_MAPREG_MEM_TYPE_64BIT,
                        0, &memt, &memh, NULL, &memsize) == 0);
diff -r 0517521edf8e -r 183d5c3f9da3 sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c       Tue Feb 18 00:40:50 2020 +0000
+++ b/sys/dev/pci/if_wm.c       Tue Feb 18 03:48:22 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_wm.c,v 1.666 2020/01/31 12:09:13 knakahara Exp $    */
+/*     $NetBSD: if_wm.c,v 1.667 2020/02/18 03:48:22 msaitoh Exp $      */
 
 /*
  * Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -82,7 +82,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.666 2020/01/31 12:09:13 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.667 2020/02/18 03:48:22 msaitoh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -8666,7 +8666,7 @@
                                log(LOG_WARNING, "%s: late collision\n",
                                    device_xname(sc->sc_dev));
                        else if (status & WTX_ST_EC) {
-                               if_statadd(ifp, if_collisions, 
+                               if_statadd(ifp, if_collisions,
                                    TX_COLLISION_THRESHOLD + 1);
                                log(LOG_WARNING, "%s: excessive collisions\n",
                                    device_xname(sc->sc_dev));



Home | Main Index | Thread Index | Old Index