Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Fix typo in comments



details:   https://anonhg.NetBSD.org/src/rev/bd01e705b4ba
branches:  trunk
changeset: 1010416:bd01e705b4ba
user:      yamaguchi <yamaguchi%NetBSD.org@localhost>
date:      Mon May 25 08:25:28 2020 +0000

description:
Fix typo in comments

diffstat:

 sys/dev/pci/if_vioif.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 88514387f60c -r bd01e705b4ba sys/dev/pci/if_vioif.c
--- a/sys/dev/pci/if_vioif.c    Mon May 25 08:22:39 2020 +0000
+++ b/sys/dev/pci/if_vioif.c    Mon May 25 08:25:28 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_vioif.c,v 1.56 2020/05/25 08:22:39 yamaguchi Exp $  */
+/*     $NetBSD: if_vioif.c,v 1.57 2020/05/25 08:25:28 yamaguchi Exp $  */
 
 /*
  * Copyright (c) 2010 Minoura Makoto.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_vioif.c,v 1.56 2020/05/25 08:22:39 yamaguchi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_vioif.c,v 1.57 2020/05/25 08:25:28 yamaguchi Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -200,7 +200,7 @@
 /*
  * Locking notes:
  * + a field in vioif_txqueue is protected by txq_lock (a spin mutex), and
- *   a filds in vioif_rxqueue is protected by rxq_lock (a spin mutex).
+ *   a field in vioif_rxqueue is protected by rxq_lock (a spin mutex).
  *      - more than one lock cannot be held at onece
  * + ctrlq_inuse is protected by ctrlq_wait_lock.
  *      - other fields in vioif_ctrlqueue are protected by ctrlq_inuse
@@ -823,7 +823,7 @@
 #endif
 
        /*
-        * Allocating a virtqueues
+        * Allocating virtqueues
         */
        for (i = 0; i < sc->sc_max_nvq_pairs; i++) {
                rxq = &sc->sc_rxq[i];



Home | Main Index | Thread Index | Old Index