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, mainly immediatly/immediately/,



details:   https://anonhg.NetBSD.org/src/rev/698eb2f55b78
branches:  trunk
changeset: 362013:698eb2f55b78
user:      andvar <andvar%NetBSD.org@localhost>
date:      Wed Feb 23 21:54:40 2022 +0000

description:
fix various typos in comments, mainly immediatly/immediately/,
as well shared and recently fixed typos in OpenBSD code by Jonathan Grey.

diffstat:

 lib/libperfuse/perfuse.c               |  6 +++---
 lib/libtelnet/encrypt.c                |  6 +++---
 sys/arch/powerpc/pic/pic_distopenpic.c |  6 +++---
 sys/arch/powerpc/pic/pic_mpcsoc.c      |  6 +++---
 sys/arch/powerpc/pic/pic_openpic.c     |  6 +++---
 sys/arch/sh3/include/cpu.h             |  4 ++--
 sys/arch/sh3/include/mmu.h             |  4 ++--
 sys/arch/sh3/sh3/sh3_machdep.c         |  6 +++---
 sys/arch/sparc64/dev/psycho.c          |  6 +++---
 sys/dev/ata/ata.c                      |  6 +++---
 sys/dev/eisa/ahbreg.h                  |  4 ++--
 sys/dev/ic/aic7xxx_osm.c               |  6 +++---
 sys/dev/ic/esiop.c                     |  6 +++---
 sys/dev/ic/siop.c                      |  6 +++---
 sys/dev/pci/if_skreg.h                 |  4 ++--
 sys/dev/pci/if_tl.c                    |  6 +++---
 sys/dev/scsipi/ss.c                    |  6 +++---
 sys/dev/scsipi/st.c                    |  6 +++---
 sys/dev/tc/if_le_tc.c                  |  6 +++---
 sys/fs/puffs/puffs_vnops.c             |  8 ++++----
 sys/kern/kern_sig.c                    |  6 +++---
 sys/kern/kern_turnstile.c              |  6 +++---
 sys/netinet6/raw_ip6.c                 |  6 +++---
 23 files changed, 66 insertions(+), 66 deletions(-)

diffs (truncated from 591 to 300 lines):

diff -r 3cf9ae6758e2 -r 698eb2f55b78 lib/libperfuse/perfuse.c
--- a/lib/libperfuse/perfuse.c  Wed Feb 23 19:09:42 2022 +0000
+++ b/lib/libperfuse/perfuse.c  Wed Feb 23 21:54:40 2022 +0000
@@ -1,4 +1,4 @@
-/*  $NetBSD: perfuse.c,v 1.43 2021/08/08 20:54:48 nia Exp $ */
+/*  $NetBSD: perfuse.c,v 1.44 2022/02/23 21:54:40 andvar Exp $ */
 
 /*-
  *  Copyright (c) 2010-2011 Emmanuel Dreyfus. All rights reserved.
@@ -708,7 +708,7 @@
        foh = GET_OUTHDR(ps, pm);
 
        /*
-        * There are some operations we may use in a  Fire and Forget wey,
+        * There are some operations we may use in a  Fire and Forget way,
         * because the kernel does not await a reply, but FUSE still
         * sends a reply. This happens for fsyc, setattr (for metadata
         * associated with a fsync) and write (for VOP_PUTPAGES). Ignore
@@ -718,7 +718,7 @@
        case 0:
                break;
        case -ENOENT:
-               /* File disapeared during a FAF operation */
+               /* File disappeared during a FAF operation */
                break;
        case -ENOTCONN: /* FALLTHROUGH */
        case -EAGAIN: /* FALLTHROUGH */
diff -r 3cf9ae6758e2 -r 698eb2f55b78 lib/libtelnet/encrypt.c
--- a/lib/libtelnet/encrypt.c   Wed Feb 23 19:09:42 2022 +0000
+++ b/lib/libtelnet/encrypt.c   Wed Feb 23 21:54:40 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: encrypt.c,v 1.18 2019/01/05 08:55:58 maya Exp $        */
+/*     $NetBSD: encrypt.c,v 1.19 2022/02/23 21:54:40 andvar Exp $      */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -33,7 +33,7 @@
 #if 0
 static char sccsid[] = "@(#)encrypt.c  8.2 (Berkeley) 5/30/95";
 #else
-__RCSID("$NetBSD: encrypt.c,v 1.18 2019/01/05 08:55:58 maya Exp $");
+__RCSID("$NetBSD: encrypt.c,v 1.19 2022/02/23 21:54:40 andvar Exp $");
 #endif /* not lint */
 
 /*
@@ -414,7 +414,7 @@
        if (str_suplen) {
                /*
                 * If the user has requested that decryption start
-                * immediatly, then send a "REQUEST START" before
+                * immediately, then send a "REQUEST START" before
                 * we negotiate the type.
                 */
                if (!Server && autodecrypt)
diff -r 3cf9ae6758e2 -r 698eb2f55b78 sys/arch/powerpc/pic/pic_distopenpic.c
--- a/sys/arch/powerpc/pic/pic_distopenpic.c    Wed Feb 23 19:09:42 2022 +0000
+++ b/sys/arch/powerpc/pic/pic_distopenpic.c    Wed Feb 23 21:54:40 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pic_distopenpic.c,v 1.13 2020/07/06 11:02:44 rin Exp $ */
+/*     $NetBSD: pic_distopenpic.c,v 1.14 2022/02/23 21:54:40 andvar Exp $ */
 
 /*-
  * Copyright (c) 2008 Tim Rightnour
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pic_distopenpic.c,v 1.13 2020/07/06 11:02:44 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pic_distopenpic.c,v 1.14 2022/02/23 21:54:40 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_openpic.h"
@@ -121,7 +121,7 @@
 
        openpic_set_priority(0, 0);
 
-       /* clear all pending interrunts */
+       /* clear all pending interrupts */
        for (irq = 0; irq < pic->pic_numintrs; irq++) {
                openpic_read_irq(0);
                openpic_eoi(0);
diff -r 3cf9ae6758e2 -r 698eb2f55b78 sys/arch/powerpc/pic/pic_mpcsoc.c
--- a/sys/arch/powerpc/pic/pic_mpcsoc.c Wed Feb 23 19:09:42 2022 +0000
+++ b/sys/arch/powerpc/pic/pic_mpcsoc.c Wed Feb 23 21:54:40 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pic_mpcsoc.c,v 1.8 2020/07/06 09:34:18 rin Exp $ */
+/*     $NetBSD: pic_mpcsoc.c,v 1.9 2022/02/23 21:54:40 andvar Exp $ */
 
 /*-
  * Copyright (c) 2007 Michael Lorenz
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pic_mpcsoc.c,v 1.8 2020/07/06 09:34:18 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pic_mpcsoc.c,v 1.9 2022/02/23 21:54:40 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_interrupt.h"
@@ -131,7 +131,7 @@
        openpic_write(OPENPIC_SPURIOUS_VECTOR, 0xff);
        openpic_set_priority(0, 0);
 
-       /* clear all pending interrunts */
+       /* clear all pending interrupts */
        for (irq = 0; irq < self->pic_numintrs; irq++) {
                openpic_read_irq(0);
                openpic_eoi(0);
diff -r 3cf9ae6758e2 -r 698eb2f55b78 sys/arch/powerpc/pic/pic_openpic.c
--- a/sys/arch/powerpc/pic/pic_openpic.c        Wed Feb 23 19:09:42 2022 +0000
+++ b/sys/arch/powerpc/pic/pic_openpic.c        Wed Feb 23 21:54:40 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pic_openpic.c,v 1.19 2020/07/13 00:04:03 rin Exp $ */
+/*     $NetBSD: pic_openpic.c,v 1.20 2022/02/23 21:54:40 andvar Exp $ */
 
 /*-
  * Copyright (c) 2007 Michael Lorenz
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pic_openpic.c,v 1.19 2020/07/13 00:04:03 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pic_openpic.c,v 1.20 2022/02/23 21:54:40 andvar Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_multiprocessor.h"
@@ -112,7 +112,7 @@
 
        openpic_set_priority(0, 0);
 
-       /* clear all pending interrunts */
+       /* clear all pending interrupts */
        for (irq = 0; irq < pic->pic_numintrs; irq++) {
                openpic_read_irq(0);
                openpic_eoi(0);
diff -r 3cf9ae6758e2 -r 698eb2f55b78 sys/arch/sh3/include/cpu.h
--- a/sys/arch/sh3/include/cpu.h        Wed Feb 23 19:09:42 2022 +0000
+++ b/sys/arch/sh3/include/cpu.h        Wed Feb 23 21:54:40 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.60 2020/08/03 21:53:25 uwe Exp $     */
+/*     $NetBSD: cpu.h,v 1.61 2022/02/23 21:54:40 andvar Exp $  */
 
 /*-
  * Copyright (c) 2002, 2019 The NetBSD Foundation, Inc. All rights reserved.
@@ -186,7 +186,7 @@
 /*
  * Switch from P2 (uncached) back to P1 (cached).  We need to be
  * running on P2 to access cache control, memory-mapped cache and TLB
- * arrays, etc. and after touching them at least 8 instructinos are
+ * arrays, etc. and after touching them at least 8 instructions are
  * necessary before jumping to P1, so provide that padding here.
  */
 #define RUN_P1                                         \
diff -r 3cf9ae6758e2 -r 698eb2f55b78 sys/arch/sh3/include/mmu.h
--- a/sys/arch/sh3/include/mmu.h        Wed Feb 23 19:09:42 2022 +0000
+++ b/sys/arch/sh3/include/mmu.h        Wed Feb 23 21:54:40 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mmu.h,v 1.10 2008/04/28 20:23:35 martin Exp $  */
+/*     $NetBSD: mmu.h,v 1.11 2022/02/23 21:54:40 andvar Exp $  */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  *                             Call after exception vector was installed.
  *
  * TLB access ops.
- *     sh_tlb_invalidate_addr  invalidate TLB entris for given
+ *     sh_tlb_invalidate_addr  invalidate TLB entries for given
  *                             virtual addr with ASID.
  *     sh_tlb_invalidate_asid  invalidate TLB entries for given ASID.
  *     sh_tlb_invalidate_all   invalidate all non-wired TLB entries.
diff -r 3cf9ae6758e2 -r 698eb2f55b78 sys/arch/sh3/sh3/sh3_machdep.c
--- a/sys/arch/sh3/sh3/sh3_machdep.c    Wed Feb 23 19:09:42 2022 +0000
+++ b/sys/arch/sh3/sh3/sh3_machdep.c    Wed Feb 23 21:54:40 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sh3_machdep.c,v 1.111 2021/11/01 05:07:16 thorpej Exp $        */
+/*     $NetBSD: sh3_machdep.c,v 1.112 2022/02/23 21:54:40 andvar Exp $ */
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2002 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sh3_machdep.c,v 1.111 2021/11/01 05:07:16 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sh3_machdep.c,v 1.112 2022/02/23 21:54:40 andvar Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -162,7 +162,7 @@
        /* Hardclock, RTC initialize. */
        machine_clock_init();
 
-       /* ICU initiailze. */
+       /* ICU initialize. */
        curcpu()->ci_idepth = -1;
        intc_init();
 
diff -r 3cf9ae6758e2 -r 698eb2f55b78 sys/arch/sparc64/dev/psycho.c
--- a/sys/arch/sparc64/dev/psycho.c     Wed Feb 23 19:09:42 2022 +0000
+++ b/sys/arch/sparc64/dev/psycho.c     Wed Feb 23 21:54:40 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: psycho.c,v 1.136 2022/01/21 19:14:14 thorpej Exp $     */
+/*     $NetBSD: psycho.c,v 1.137 2022/02/23 21:54:40 andvar Exp $      */
 
 /*
  * Copyright (c) 1999, 2000 Matthew R. Green
@@ -55,7 +55,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: psycho.c,v 1.136 2022/01/21 19:14:14 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: psycho.c,v 1.137 2022/02/23 21:54:40 andvar Exp $");
 
 #include "opt_ddb.h"
 
@@ -175,7 +175,7 @@
  * "sabre" is the UltraSPARC IIi onboard UPA to PCI bridge.  It manages a
  * single PCI bus and does not have a streaming buffer.  It often has an APB
  * (advanced PCI bridge) connected to it, which was designed specifically for
- * the IIi.  The APB let's the IIi handle two independednt PCI buses, and
+ * the IIi.  The APB lets the IIi handle two independent PCI buses, and
  * appears as two "simba"'s underneath the sabre.
  *
  * "psycho" and "psycho+" is a dual UPA to PCI bridge.  It sits on the UPA bus
diff -r 3cf9ae6758e2 -r 698eb2f55b78 sys/dev/ata/ata.c
--- a/sys/dev/ata/ata.c Wed Feb 23 19:09:42 2022 +0000
+++ b/sys/dev/ata/ata.c Wed Feb 23 21:54:40 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ata.c,v 1.165 2021/11/12 06:53:49 skrll Exp $  */
+/*     $NetBSD: ata.c,v 1.166 2022/02/23 21:54:40 andvar Exp $ */
 
 /*
  * Copyright (c) 1998, 2001 Manuel Bouyer.  All rights reserved.
@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ata.c,v 1.165 2021/11/12 06:53:49 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ata.c,v 1.166 2022/02/23 21:54:40 andvar Exp $");
 
 #include "opt_ata.h"
 
@@ -960,7 +960,7 @@
        /*
         * Downgrade decision: if we get NERRS_MAX in NXFER.
         * We start with n_dmaerrs set to NERRS_MAX-1 so that the
-        * first error within the first NXFER ops will immediatly trigger
+        * first error within the first NXFER ops will immediately trigger
         * a downgrade.
         * If we got an error and n_xfers is bigger than NXFER reset counters.
         */
diff -r 3cf9ae6758e2 -r 698eb2f55b78 sys/dev/eisa/ahbreg.h
--- a/sys/dev/eisa/ahbreg.h     Wed Feb 23 19:09:42 2022 +0000
+++ b/sys/dev/eisa/ahbreg.h     Wed Feb 23 21:54:40 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ahbreg.h,v 1.18 2021/07/26 16:45:56 thorpej Exp $      */
+/*     $NetBSD: ahbreg.h,v 1.19 2022/02/23 21:54:40 andvar Exp $       */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -73,7 +73,7 @@
 #define        HSCSIID 0x0F            /* our SCSI ID */
 #define        RSTPWR  0x10            /* reset scsi bus on power up or reset */
 /**** bit definitions for BUSDEF ****/
-#define        B0uS    0x00            /* give up bus immediatly */
+#define        B0uS    0x00            /* give up bus immediately */
 #define        B4uS    0x01            /* delay 4uSec. */
 #define        B8uS    0x02
 
diff -r 3cf9ae6758e2 -r 698eb2f55b78 sys/dev/ic/aic7xxx_osm.c
--- a/sys/dev/ic/aic7xxx_osm.c  Wed Feb 23 19:09:42 2022 +0000
+++ b/sys/dev/ic/aic7xxx_osm.c  Wed Feb 23 21:54:40 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aic7xxx_osm.c,v 1.41 2021/08/07 16:19:12 thorpej Exp $ */
+/*     $NetBSD: aic7xxx_osm.c,v 1.42 2022/02/23 21:54:41 andvar Exp $  */
 
 /*
  * Bus independent FreeBSD shim for the aic7xxx based adaptec SCSI controllers
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aic7xxx_osm.c,v 1.41 2021/08/07 16:19:12 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aic7xxx_osm.c,v 1.42 2022/02/23 21:54:41 andvar Exp $");
 
 #include <dev/ic/aic7xxx_osm.h>
 #include <dev/ic/aic7xxx_inline.h>
@@ -1038,7 +1038,7 @@
                                              ahc_timeout, scb);
                                ahc_unpause(ahc);
                        } else {
-                               /* Go "immediatly" to the bus reset */
+                               /* Go "immediately" to the bus reset */
                                /* This shouldn't happen */
                                ahc_set_recoveryscb(ahc, scb);
                                ahc_print_path(ahc, scb);
diff -r 3cf9ae6758e2 -r 698eb2f55b78 sys/dev/ic/esiop.c
--- a/sys/dev/ic/esiop.c        Wed Feb 23 19:09:42 2022 +0000
+++ b/sys/dev/ic/esiop.c        Wed Feb 23 21:54:40 2022 +0000



Home | Main Index | Thread Index | Old Index