Source-Changes-HG archive

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

[src/trunk]: src fix typos in comments.



details:   https://anonhg.NetBSD.org/src/rev/f6a43ad4036c
branches:  trunk
changeset: 374797:f6a43ad4036c
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sat May 13 11:19:19 2023 +0000

description:
fix typos in comments.

diffstat:

 lib/libperfuse/perfuse_if.h         |  4 ++--
 sys/arch/mips/sibyte/dev/sbjcnvar.h |  4 ++--
 sys/dev/pci/if_vioif.c              |  8 ++++----
 3 files changed, 8 insertions(+), 8 deletions(-)

diffs (72 lines):

diff -r a4b201bd9a7a -r f6a43ad4036c lib/libperfuse/perfuse_if.h
--- a/lib/libperfuse/perfuse_if.h       Sat May 13 11:11:39 2023 +0000
+++ b/lib/libperfuse/perfuse_if.h       Sat May 13 11:19:19 2023 +0000
@@ -1,4 +1,4 @@
-/*  $NetBSD: perfuse_if.h,v 1.24 2021/12/12 09:00:07 andvar Exp $ */
+/*  $NetBSD: perfuse_if.h,v 1.25 2023/05/13 11:19:19 andvar Exp $ */
 
 /*-
  *  Copyright (c) 2010-2011 Emmanuel Dreyfus. All rights reserved.
@@ -48,7 +48,7 @@ extern int perfuse_diagflags;
 #define PDF_FH         0x0010  /* File handles */
 #define PDF_RECLAIM    0x0020  /* Reclaimed files */
 #define PDF_READDIR    0x0040  /* readdir operations */
-#define PDF_REQUEUE    0x0080  /* reueued messages */
+#define PDF_REQUEUE    0x0080  /* requeued messages */
 #define PDF_SYNC       0x0100  /* fsync and dirty flags */
 #define PDF_MISC       0x0200  /* Miscellaneous messages */
 #define PDF_SYSLOG     0x0400  /* use syslog */
diff -r a4b201bd9a7a -r f6a43ad4036c sys/arch/mips/sibyte/dev/sbjcnvar.h
--- a/sys/arch/mips/sibyte/dev/sbjcnvar.h       Sat May 13 11:11:39 2023 +0000
+++ b/sys/arch/mips/sibyte/dev/sbjcnvar.h       Sat May 13 11:19:19 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sbjcnvar.h,v 1.8 2018/07/09 14:07:37 christos Exp $ */
+/* $NetBSD: sbjcnvar.h,v 1.9 2023/05/13 11:19:19 andvar Exp $ */
 
 /*
  * Copyright 2000, 2001
@@ -100,7 +100,7 @@ struct sbjcn_channel {
        struct callout  ch_callout;     /* callout for channel processing */
 
        volatile char   *ch_input_reg;  /* kseg1 addr of input reg */
-       volatile char   *ch_output_reg; /* kseg1 addr of outpu reg */
+       volatile char   *ch_output_reg; /* kseg1 addr of output reg */
        volatile char   *ch_control_reg;/* kseg1 addr of control reg */
 
        volatile int    ch_waiting_input; /*  */
diff -r a4b201bd9a7a -r f6a43ad4036c sys/dev/pci/if_vioif.c
--- a/sys/dev/pci/if_vioif.c    Sat May 13 11:11:39 2023 +0000
+++ b/sys/dev/pci/if_vioif.c    Sat May 13 11:19:19 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_vioif.c,v 1.108 2023/05/11 05:50:18 yamaguchi Exp $ */
+/*     $NetBSD: if_vioif.c,v 1.109 2023/05/13 11:19:19 andvar Exp $    */
 
 /*
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_vioif.c,v 1.108 2023/05/11 05:50:18 yamaguchi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_vioif.c,v 1.109 2023/05/13 11:19:19 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -205,7 +205,7 @@ struct virtio_net_ctrl_mq {
 
 /*
  * Locking notes:
- * + a field in vioif_netueue is protected by netq_lock (a spin mutex)
+ * + a field in vioif_netqueue is protected by netq_lock (a spin mutex)
  *      - more than one lock cannot be held at onece
  * + a field in vioif_tx_context and vioif_rx_context is also protected
  *   by netq_lock.
@@ -2391,7 +2391,7 @@ vioif_ctrl_send_command(struct vioif_sof
        while (ctrlq->ctrlq_inuse != DONE)
                cv_wait(&ctrlq->ctrlq_wait, &ctrlq->ctrlq_wait_lock);
        mutex_exit(&ctrlq->ctrlq_wait_lock);
-       /* already dequeueued */
+       /* already dequeued */
 
        bus_dmamap_sync(virtio_dmat(vsc), ctrlq->ctrlq_cmd_dmamap, 0,
            sizeof(struct virtio_net_ctrl_cmd), BUS_DMASYNC_POSTWRITE);



Home | Main Index | Thread Index | Old Index