Source-Changes-HG archive

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

[src/trunk]: src/sys/kern fix typos in word "functions" in comments, mainly s...



details:   https://anonhg.NetBSD.org/src/rev/a0052fb0eed9
branches:  trunk
changeset: 366846:a0052fb0eed9
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sat Jun 18 22:11:00 2022 +0000

description:
fix typos in word "functions" in comments, mainly s/fuctions/functions/.

diffstat:

 sys/arch/evbarm/gumstix/gxiic.c         |  6 +++---
 sys/arch/hpcarm/dev/nbpiic.c            |  6 +++---
 sys/arch/i386/eisa/eisa_machdep.c       |  6 +++---
 sys/arch/mips/alchemy/dev/ausmbus_psc.c |  6 +++---
 sys/arch/prep/eisa/eisa_machdep.c       |  6 +++---
 sys/arch/x86/include/pmap.h             |  4 ++--
 sys/dev/pci/virtio.c                    |  8 ++++----
 sys/kern/init_main.c                    |  6 +++---
 8 files changed, 24 insertions(+), 24 deletions(-)

diffs (216 lines):

diff -r 768312f60cc9 -r a0052fb0eed9 sys/arch/evbarm/gumstix/gxiic.c
--- a/sys/arch/evbarm/gumstix/gxiic.c   Sat Jun 18 13:56:41 2022 +0000
+++ b/sys/arch/evbarm/gumstix/gxiic.c   Sat Jun 18 22:11:00 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gxiic.c,v 1.11 2021/08/07 16:18:49 thorpej Exp $ */
+/*     $NetBSD: gxiic.c,v 1.12 2022/06/18 22:11:00 andvar Exp $ */
 /*
  * Copyright (c) 2007 KIYOHARA Takashi
  * All rights reserved.
@@ -25,7 +25,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gxiic.c,v 1.11 2021/08/07 16:18:49 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gxiic.c,v 1.12 2022/06/18 22:11:00 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -50,7 +50,7 @@
 static int gxiicmatch(device_t, cfdata_t, void *);
 static void gxiicattach(device_t, device_t, void *);
 
-/* fuctions for i2c_controller */
+/* functions for i2c_controller */
 static int gxiic_acquire_bus(void *, int);
 static void gxiic_release_bus(void *, int);
 static int gxiic_exec(void *cookie, i2c_op_t, i2c_addr_t, const void *, size_t,
diff -r 768312f60cc9 -r a0052fb0eed9 sys/arch/hpcarm/dev/nbpiic.c
--- a/sys/arch/hpcarm/dev/nbpiic.c      Sat Jun 18 13:56:41 2022 +0000
+++ b/sys/arch/hpcarm/dev/nbpiic.c      Sat Jun 18 22:11:00 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nbpiic.c,v 1.5 2021/08/07 16:18:53 thorpej Exp $ */
+/*     $NetBSD: nbpiic.c,v 1.6 2022/06/18 22:11:00 andvar Exp $ */
 /*
  * Copyright (c) 2011 KIYOHARA Takashi
  * All rights reserved.
@@ -25,7 +25,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nbpiic.c,v 1.5 2021/08/07 16:18:53 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nbpiic.c,v 1.6 2022/06/18 22:11:00 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -63,7 +63,7 @@
 static int nbpiic_intr(void *);
 int nbpiic_poll(void *, int, char *);
 
-/* fuctions for i2c_controller */
+/* functions for i2c_controller */
 static int nbpiic_exec(void *cookie, i2c_op_t, i2c_addr_t, const void *, size_t,
     void *, size_t, int);
 
diff -r 768312f60cc9 -r a0052fb0eed9 sys/arch/i386/eisa/eisa_machdep.c
--- a/sys/arch/i386/eisa/eisa_machdep.c Sat Jun 18 13:56:41 2022 +0000
+++ b/sys/arch/i386/eisa/eisa_machdep.c Sat Jun 18 22:11:00 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: eisa_machdep.c,v 1.40 2015/04/27 08:30:10 knakahara Exp $      */
+/*     $NetBSD: eisa_machdep.c,v 1.41 2022/06/18 22:11:00 andvar Exp $ */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: eisa_machdep.c,v 1.40 2015/04/27 08:30:10 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: eisa_machdep.c,v 1.41 2022/06/18 22:11:00 andvar Exp $");
 
 #include "ioapic.h"
 
@@ -90,7 +90,7 @@
 
 /*
  * EISA doesn't have any special needs; just use the generic versions
- * of these funcions.
+ * of these functions.
  *
  * XXX really doesn't use bounce buffers? --dyoung
  */
diff -r 768312f60cc9 -r a0052fb0eed9 sys/arch/mips/alchemy/dev/ausmbus_psc.c
--- a/sys/arch/mips/alchemy/dev/ausmbus_psc.c   Sat Jun 18 13:56:41 2022 +0000
+++ b/sys/arch/mips/alchemy/dev/ausmbus_psc.c   Sat Jun 18 22:11:00 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ausmbus_psc.c,v 1.15 2021/08/07 16:18:58 thorpej Exp $ */
+/* $NetBSD: ausmbus_psc.c,v 1.16 2022/06/18 22:11:00 andvar Exp $ */
 
 /*-
  * Copyright (c) 2006 Shigeyuki Fukushima.
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ausmbus_psc.c,v 1.15 2021/08/07 16:18:58 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ausmbus_psc.c,v 1.16 2022/06/18 22:11:00 andvar Exp $");
 
 #include "locators.h"
 
@@ -77,7 +77,7 @@
 CFATTACH_DECL_NEW(ausmbus, sizeof(struct ausmbus_softc),
        ausmbus_match, ausmbus_attach, NULL, NULL);
 
-/* fuctions for i2c_controller */
+/* functions for i2c_controller */
 static int     ausmbus_acquire_bus(void *, int);
 static void    ausmbus_release_bus(void *, int);
 static int     ausmbus_exec(void *cookie, i2c_op_t op, i2c_addr_t addr,
diff -r 768312f60cc9 -r a0052fb0eed9 sys/arch/prep/eisa/eisa_machdep.c
--- a/sys/arch/prep/eisa/eisa_machdep.c Sat Jun 18 13:56:41 2022 +0000
+++ b/sys/arch/prep/eisa/eisa_machdep.c Sat Jun 18 22:11:00 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: eisa_machdep.c,v 1.5 2014/03/29 19:28:29 christos Exp $        */
+/*     $NetBSD: eisa_machdep.c,v 1.6 2022/06/18 22:11:00 andvar Exp $  */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: eisa_machdep.c,v 1.5 2014/03/29 19:28:29 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: eisa_machdep.c,v 1.6 2022/06/18 22:11:00 andvar Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -86,7 +86,7 @@
 
 /*
  * EISA doesn't have any special needs; just use the generic versions
- * of these funcions.
+ * of these functions.
  */
 struct powerpc_bus_dma_tag eisa_bus_dma_tag = {
        0,                      /* _bounce_thresh */
diff -r 768312f60cc9 -r a0052fb0eed9 sys/arch/x86/include/pmap.h
--- a/sys/arch/x86/include/pmap.h       Sat Jun 18 13:56:41 2022 +0000
+++ b/sys/arch/x86/include/pmap.h       Sat Jun 18 22:11:00 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.127 2021/04/30 13:54:26 christos Exp $      */
+/*     $NetBSD: pmap.h,v 1.128 2022/06/18 22:11:01 andvar Exp $        */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -542,7 +542,7 @@
 /* Selects the index of a PTE in (A)PTE_BASE */
 #define XPTE_SHIFT     (L1_SHIFT - ilog2(sizeof(pt_entry_t)))
 
-/* PTE access inline fuctions */
+/* PTE access inline functions */
 
 /*
  * Get the machine address of the pointed pte
diff -r 768312f60cc9 -r a0052fb0eed9 sys/dev/pci/virtio.c
--- a/sys/dev/pci/virtio.c      Sat Jun 18 13:56:41 2022 +0000
+++ b/sys/dev/pci/virtio.c      Sat Jun 18 22:11:00 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: virtio.c,v 1.54 2022/04/24 11:51:09 uwe Exp $  */
+/*     $NetBSD: virtio.c,v 1.55 2022/06/18 22:11:01 andvar Exp $       */
 
 /*
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: virtio.c,v 1.54 2022/04/24 11:51:09 uwe Exp $");
+__KERNEL_RCSID(0, "$NetBSD: virtio.c,v 1.55 2022/06/18 22:11:01 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -251,7 +251,7 @@
 /*
  * In the older virtio spec, device config registers are host endian. On newer
  * they are little endian. Some newer devices however explicitly specify their
- * register to always be little endian. These fuctions cater for these.
+ * register to always be little endian. These functions cater for these.
  */
 uint16_t
 virtio_read_device_config_le_2(struct virtio_softc *sc, int index) {
@@ -356,7 +356,7 @@
 /*
  * In the older virtio spec, device config registers are host endian. On newer
  * they are little endian. Some newer devices however explicitly specify their
- * register to always be little endian. These fuctions cater for these.
+ * register to always be little endian. These functions cater for these.
  */
 void
 virtio_write_device_config_le_2(struct virtio_softc *sc, int index, uint16_t value)
diff -r 768312f60cc9 -r a0052fb0eed9 sys/kern/init_main.c
--- a/sys/kern/init_main.c      Sat Jun 18 13:56:41 2022 +0000
+++ b/sys/kern/init_main.c      Sat Jun 18 22:11:00 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: init_main.c,v 1.538 2022/03/19 13:51:35 hannken Exp $  */
+/*     $NetBSD: init_main.c,v 1.539 2022/06/18 22:11:01 andvar Exp $   */
 
 /*-
  * Copyright (c) 2008, 2009, 2019 The NetBSD Foundation, Inc.
@@ -97,7 +97,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.538 2022/03/19 13:51:35 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.539 2022/06/18 22:11:01 andvar Exp $");
 
 #include "opt_cnmagic.h"
 #include "opt_ddb.h"
@@ -762,7 +762,7 @@
        /*
         * XXX
         * callout_setfunc() requires mutex(9) so it can't be in config_init()
-        * on amiga and atari which use config_init() and autoconf(9) fucntions
+        * on amiga and atari which use config_init() and autoconf(9) functions
         * to initialize console devices.
         */
        config_twiddle_init();



Home | Main Index | Thread Index | Old Index