Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/b7a94280372a
branches:  trunk
changeset: 368353:b7a94280372a
user:      andvar <andvar%NetBSD.org@localhost>
date:      Wed Jul 06 12:33:41 2022 +0000

description:
fix various typos in comments.

diffstat:

 lib/libcurses/PSD.doc/ex2.c    |   4 ++--
 lib/libperfuse/ops.c           |  10 +++++-----
 sys/arch/vax/vsa/lcg.c         |   8 ++++----
 sys/dev/pci/qat/qatvar.h       |   8 ++++----
 sys/dev/wscons/wscons_raster.h |  10 +++++-----
 5 files changed, 20 insertions(+), 20 deletions(-)

diffs (166 lines):

diff -r ed308a51545a -r b7a94280372a lib/libcurses/PSD.doc/ex2.c
--- a/lib/libcurses/PSD.doc/ex2.c       Wed Jul 06 08:07:23 2022 +0000
+++ b/lib/libcurses/PSD.doc/ex2.c       Wed Jul 06 12:33:41 2022 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ex2.c,v 1.7 2003/08/07 16:44:27 agc Exp $
+.\"    $NetBSD: ex2.c,v 1.8 2022/07/06 12:33:41 andvar Exp $
 .\"
 .\" Copyright (c) 1992, 1993
 .\"     The Regents of the University of California.  All rights reserved.
@@ -91,7 +91,7 @@
         * 'b' - move cursor one position to the left.
         * 'n' - move cursor one line down.
         * 'p' - move cursor one line up.
-        * 'h' - home cusor.
+        * 'h' - home cursor.
         * 'l' - force refresh.
         * 'r' - simulate a carriage return.
         *
diff -r ed308a51545a -r b7a94280372a lib/libperfuse/ops.c
--- a/lib/libperfuse/ops.c      Wed Jul 06 08:07:23 2022 +0000
+++ b/lib/libperfuse/ops.c      Wed Jul 06 12:33:41 2022 +0000
@@ -1,4 +1,4 @@
-/*  $NetBSD: ops.c,v 1.90 2022/04/12 21:05:36 andvar Exp $ */
+/*  $NetBSD: ops.c,v 1.91 2022/07/06 12:33:41 andvar Exp $ */
 
 /*-
  *  Copyright (c) 2010-2011 Emmanuel Dreyfus. All rights reserved.
@@ -616,7 +616,7 @@
                 * struct fuse_dirent is bigger than struct dirent,
                 * so we should always use fd_len and never reallocate
                 * later. 
-                * If we have to reallocate,try to double the buffer
+                * If we have to reallocate, try to double the buffer
                 * each time so that we do not have to do it too often.
                 */
                if (written + reclen > dents_len) {
@@ -1857,7 +1857,7 @@
        /*
         * If only atime is changed, discard the operation: it
         * happens after read, and in that case the filesystem 
-        * already updaed atime. NB: utimes() also change mtime.
+        * already updated atime. NB: utimes() also change mtime.
         */
        if (fsi->valid == FUSE_FATTR_ATIME)
                fsi->valid &= ~FUSE_FATTR_ATIME;
@@ -2503,7 +2503,7 @@
                pnd->pnd_fd_cookie = 0;
 
        /*
-        * Do we already have the data bufered?
+        * Do we already have the data buffered?
         */
        if (pnd->pnd_dirent != NULL)
                goto out;
@@ -2717,7 +2717,7 @@
        /*
         * The kernel tells us how many lookups it made, which allows
         * us to detect that we have an uncompleted lookup and that the
-        * node should not dispear.
+        * node should not disappear.
         */
        pnd->pnd_puffs_nlookup -= nlookup;
        if (pnd->pnd_puffs_nlookup > 0)
diff -r ed308a51545a -r b7a94280372a sys/arch/vax/vsa/lcg.c
--- a/sys/arch/vax/vsa/lcg.c    Wed Jul 06 08:07:23 2022 +0000
+++ b/sys/arch/vax/vsa/lcg.c    Wed Jul 06 12:33:41 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lcg.c,v 1.9 2022/02/12 17:09:43 riastradh Exp $ */
+/*     $NetBSD: lcg.c,v 1.10 2022/07/06 12:33:41 andvar Exp $ */
 /*
  * LCG accelerated framebuffer driver
  * Copyright (c) 2003, 2004 Blaz Antonic
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lcg.c,v 1.9 2022/02/12 17:09:43 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lcg.c,v 1.10 2022/07/06 12:33:41 andvar Exp $");
 
 #define LCG_NO_ACCEL
 
@@ -1256,7 +1256,7 @@
         *  1         1 video enable
         *  0         1 refresh clock enable
         */
-       /* prepare video_config reg for LUT relaod */
+       /* prepare video_config reg for LUT reload */
        video_conf
                 = (3 << 30) /* vertical state */
                 | (3 << 28) /* horizontal state */
@@ -1272,7 +1272,7 @@
                 | (1 << 12) /* enable horizontal sync */
                 | (1 << 10) /* video clock select */
                 | (1 << 6) /* video refresh select */
-                | (1 << 4) /* read curosr output */
+                | (1 << 4) /* read cursor output */
                 | (1 << 3) /* LUT load enable */
                 | (0 << 2) /* cursor enable */
                 | (1 << 1) /* video enable */
diff -r ed308a51545a -r b7a94280372a sys/dev/pci/qat/qatvar.h
--- a/sys/dev/pci/qat/qatvar.h  Wed Jul 06 08:07:23 2022 +0000
+++ b/sys/dev/pci/qat/qatvar.h  Wed Jul 06 12:33:41 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: qatvar.h,v 1.2 2020/03/14 18:08:39 ad Exp $    */
+/*     $NetBSD: qatvar.h,v 1.3 2022/07/06 12:33:42 andvar Exp $        */
 
 /*
  * Copyright (c) 2019 Internet Initiative Japan, Inc.
@@ -163,7 +163,7 @@
 #define QAT_SIZE_TO_RING_SIZE_IN_BYTES(SIZE) ((1 << (SIZE - 1)) << 7)
 #define QAT_RING_SIZE_IN_BYTES_TO_SIZE(SIZE) ((1 << (SIZE - 1)) >> 7)
 
-/* Minimum ring bufer size for memory allocation */
+/* Minimum ring buffer size for memory allocation */
 #define QAT_RING_SIZE_BYTES_MIN(SIZE) \
        ((SIZE < QAT_SIZE_TO_RING_SIZE_IN_BYTES(QAT_RING_SIZE_4K)) ? \
                QAT_SIZE_TO_RING_SIZE_IN_BYTES(QAT_RING_SIZE_4K) : SIZE)
@@ -214,7 +214,7 @@
 struct qat_bank {
        struct qat_softc *qb_sc;        /* back pointer to softc */
        uint32_t qb_intr_mask;          /* current interrupt mask */
-       uint32_t qb_allocated_rings;    /* current allocated ring bitfiled */
+       uint32_t qb_allocated_rings;    /* current allocated ring bitfield */
        uint32_t qb_coalescing_time;    /* timer in nano sec, 0: disabled */
 #define COALESCING_TIME_INTERVAL_DEFAULT       10000
 #define COALESCING_TIME_INTERVAL_MIN           500
@@ -270,7 +270,7 @@
        u_int qae_free_addr;            /* free micro-store address */
        u_int qae_free_size;            /* free micro-store size */
        u_int qae_live_ctx_mask;        /* live context mask */
-       u_int qae_ustore_dram_addr;     /* mirco-store DRAM address */
+       u_int qae_ustore_dram_addr;     /* micro-store DRAM address */
        u_int qae_reload_size;          /* reloadable code size */
 
        /* aefw */
diff -r ed308a51545a -r b7a94280372a sys/dev/wscons/wscons_raster.h
--- a/sys/dev/wscons/wscons_raster.h    Wed Jul 06 08:07:23 2022 +0000
+++ b/sys/dev/wscons/wscons_raster.h    Wed Jul 06 12:33:41 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wscons_raster.h,v 1.10 2006/10/09 11:03:43 peter Exp $ */
+/* $NetBSD: wscons_raster.h,v 1.11 2022/07/06 12:33:42 andvar Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -46,8 +46,8 @@
 struct rcons {
        /* Console raster.  Filled in before rcons_init(). */
        struct  raster *rc_sp;          /* frame buffer raster */
-       int     *rc_crowp;              /* ptr to cursror row */
-       int     *rc_ccolp;              /* ptr to cursror column */
+       int     *rc_crowp;              /* ptr to cursor row */
+       int     *rc_ccolp;              /* ptr to cursor column */
 
        /* Number of rows/columns on raster.  Filled in by rcons_init(). */
        int     rc_maxrow;              /* emulator height of screen */
@@ -64,8 +64,8 @@
        int     rc_raswidth;            /* raster width for row copies */
 
        /* Internal cursor row and column.  XXX  Weird Sun cursor pointers. */
-       int     rc_crow;                /* internal cursror row */
-       int     rc_ccol;                /* ptr to cursror column */
+       int     rc_crow;                /* internal cursor row */
+       int     rc_ccol;                /* ptr to cursor column */
 };
 
 #if 0



Home | Main Index | Thread Index | Old Index