Source-Changes-HG archive

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

[src/trunk]: src Fix typo. unknwon -> unknown



details:   https://anonhg.NetBSD.org/src/rev/cd9426c643bc
branches:  trunk
changeset: 376463:cd9426c643bc
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Mon Jun 19 08:40:29 2023 +0000

description:
Fix typo. unknwon -> unknown

diffstat:

 lib/libc/nameser/ns_name.c        |   6 +++---
 sys/arch/alpha/mcbus/mcbus.c      |   6 +++---
 sys/arch/arm/marvell/mvsoc.c      |  10 +++++-----
 sys/arch/arm/marvell/mvsocgpp.c   |   6 +++---
 sys/arch/arm/marvell/mvsocts.c    |   6 +++---
 sys/arch/bebox/bebox/autoconf.c   |   8 ++++----
 sys/arch/bebox/stand/boot/siop.c  |   4 ++--
 sys/arch/powerpc/ibm4xx/dev/mal.c |   6 +++---
 sys/arch/prep/stand/boot/siop.c   |   4 ++--
 sys/dev/marvell/gtidmac.c         |  12 ++++++------
 sys/fs/hfs/libhfs.c               |   6 +++---
 11 files changed, 37 insertions(+), 37 deletions(-)

diffs (truncated from 329 to 300 lines):

diff -r 345fc1bb6549 -r cd9426c643bc lib/libc/nameser/ns_name.c
--- a/lib/libc/nameser/ns_name.c        Mon Jun 19 08:32:39 2023 +0000
+++ b/lib/libc/nameser/ns_name.c        Mon Jun 19 08:40:29 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ns_name.c,v 1.12 2019/09/04 12:14:09 christos Exp $    */
+/*     $NetBSD: ns_name.c,v 1.13 2023/06/19 08:40:29 msaitoh Exp $     */
 
 /*
  * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
@@ -22,7 +22,7 @@
 #ifdef notdef
 static const char rcsid[] = "Id: ns_name.c,v 1.11 2009/01/23 19:59:16 each Exp";
 #else
-__RCSID("$NetBSD: ns_name.c,v 1.12 2019/09/04 12:14:09 christos Exp $");
+__RCSID("$NetBSD: ns_name.c,v 1.13 2023/06/19 08:40:29 msaitoh Exp $");
 #endif
 #endif
 
@@ -1167,7 +1167,7 @@ labellen(const u_char *lp)
                                bitlen = 256;
                        return ((bitlen + 7 ) / 8 + 1);
                }
-               return (-1);    /*%< unknwon ELT */
+               return (-1);    /*%< unknown ELT */
        }
        return (l);
 }
diff -r 345fc1bb6549 -r cd9426c643bc sys/arch/alpha/mcbus/mcbus.c
--- a/sys/arch/alpha/mcbus/mcbus.c      Mon Jun 19 08:32:39 2023 +0000
+++ b/sys/arch/alpha/mcbus/mcbus.c      Mon Jun 19 08:40:29 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mcbus.c,v 1.25 2021/08/07 16:18:40 thorpej Exp $ */
+/* $NetBSD: mcbus.c,v 1.26 2023/06/19 08:40:29 msaitoh Exp $ */
 
 /*
  * Copyright (c) 1998 by Matthew Jacob
@@ -37,7 +37,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: mcbus.c,v 1.25 2021/08/07 16:18:40 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mcbus.c,v 1.26 2023/06/19 08:40:29 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -228,7 +228,7 @@ mcbus_node_type_str(uint8_t type)
        case MCBUS_TYPE_PCI:
                return ("PCI Bridge");
        default:
-               panic("REALLY UNKNWON (%x) TYPE IN MCBUS_NODE_TYPE_STR", type);
+               panic("REALLY UNKNOWN (%x) TYPE IN MCBUS_NODE_TYPE_STR", type);
                break;
        }
 }
diff -r 345fc1bb6549 -r cd9426c643bc sys/arch/arm/marvell/mvsoc.c
--- a/sys/arch/arm/marvell/mvsoc.c      Mon Jun 19 08:32:39 2023 +0000
+++ b/sys/arch/arm/marvell/mvsoc.c      Mon Jun 19 08:40:29 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mvsoc.c,v 1.32 2021/08/30 00:04:30 rin Exp $   */
+/*     $NetBSD: mvsoc.c,v 1.33 2023/06/19 08:40:29 msaitoh Exp $       */
 /*
  * Copyright (c) 2007, 2008, 2013, 2014, 2016 KIYOHARA Takashi
  * All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mvsoc.c,v 1.32 2021/08/30 00:04:30 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mvsoc.c,v 1.33 2023/06/19 08:40:29 msaitoh Exp $");
 
 #include "opt_cputypes.h"
 #include "opt_mvsoc.h"
@@ -1308,7 +1308,7 @@ mvsoc_target_ddr(uint32_t attr, uint32_t
                cs = 3;
                break;
        default:
-               aprint_error("unknwon ATTR: 0x%x", attr);
+               aprint_error("unknown ATTR: 0x%x", attr);
                return -1;
        }
        sizereg = le32toh(*(volatile uint32_t *)(dsc_base +
@@ -1355,7 +1355,7 @@ mvsoc_target_ddr3(uint32_t attr, uint32_
                cs = 3;
                break;
        default:
-               aprint_error("unknwon ATTR: 0x%x", attr);
+               aprint_error("unknown ATTR: 0x%x", attr);
                return -1;
        }
        for (i = 0; i < MVSOC_MLMB_NWIN; i++) {
@@ -1399,7 +1399,7 @@ mvsoc_target_axi(int tag, uint32_t *base
                cs = 1;
                break;
        default:
-               aprint_error("unknwon TAG: 0x%x", tag);
+               aprint_error("unknown TAG: 0x%x", tag);
                return -1;
        }
        val = le32toh(*(volatile uint32_t *)(regbase + MVSOC_AXI_MMAP1(cs)));
diff -r 345fc1bb6549 -r cd9426c643bc sys/arch/arm/marvell/mvsocgpp.c
--- a/sys/arch/arm/marvell/mvsocgpp.c   Mon Jun 19 08:32:39 2023 +0000
+++ b/sys/arch/arm/marvell/mvsocgpp.c   Mon Jun 19 08:40:29 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mvsocgpp.c,v 1.8 2021/08/07 16:18:44 thorpej Exp $     */
+/*     $NetBSD: mvsocgpp.c,v 1.9 2023/06/19 08:40:29 msaitoh Exp $     */
 /*
  * Copyright (c) 2008, 2010 KIYOHARA Takashi
  * All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mvsocgpp.c,v 1.8 2021/08/07 16:18:44 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mvsocgpp.c,v 1.9 2023/06/19 08:40:29 msaitoh Exp $");
 
 #include "gpio.h"
 
@@ -320,7 +320,7 @@ gpio_pic_establish_irq(struct pic_softc 
                break;
 
        default:
-               panic("unknwon interrupt type %d for pin %d.\n", type, pin);
+               panic("unknown interrupt type %d for pin %d.\n", type, pin);
        }
 
        im = MVSOCGPP_READ(sc, MVSOCGPP_GPIOIM(pin));
diff -r 345fc1bb6549 -r cd9426c643bc sys/arch/arm/marvell/mvsocts.c
--- a/sys/arch/arm/marvell/mvsocts.c    Mon Jun 19 08:32:39 2023 +0000
+++ b/sys/arch/arm/marvell/mvsocts.c    Mon Jun 19 08:40:29 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mvsocts.c,v 1.2 2015/11/06 12:50:30 kiyohara Exp $     */
+/*     $NetBSD: mvsocts.c,v 1.3 2023/06/19 08:40:29 msaitoh Exp $      */
 /*
  * Copyright (c) 2012, 2015 KIYOHARA Takashi
  * All rights reserved.
@@ -25,7 +25,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mvsocts.c,v 1.2 2015/11/06 12:50:30 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mvsocts.c,v 1.3 2023/06/19 08:40:29 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -116,7 +116,7 @@ mvsocts_attach(device_t parent, device_t
                break;
 
        default:
-               aprint_error_dev(self, "unknwon model: 0x%x", mva->mva_model);
+               aprint_error_dev(self, "unknown model: 0x%x", mva->mva_model);
                return;
        }
 
diff -r 345fc1bb6549 -r cd9426c643bc sys/arch/bebox/bebox/autoconf.c
--- a/sys/arch/bebox/bebox/autoconf.c   Mon Jun 19 08:32:39 2023 +0000
+++ b/sys/arch/bebox/bebox/autoconf.c   Mon Jun 19 08:40:29 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.27 2015/12/13 19:38:09 christos Exp $   */
+/*     $NetBSD: autoconf.c,v 1.28 2023/06/19 08:40:29 msaitoh Exp $    */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -44,7 +44,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.27 2015/12/13 19:38:09 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.28 2023/06/19 08:40:29 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -122,7 +122,7 @@ findroot(void)
                return;
        p = rdev->rootdevice;
        if (strncmp(p, "/dev/disk/", 10) != 0)
-               /* unknwon device... */
+               /* unknown device... */
                return;
        p += 10;
        if (strncmp(p, "scsi/", 5) == 0) {
@@ -155,7 +155,7 @@ findroot(void)
        } else if (strcmp(p, "floppy") == 0)
                return;
        else
-               /* unknwon disk... */
+               /* unknown disk... */
                return;
 
        if (*(p + 0) != '0' || *(p + 1) != '_' || !isdigit(*(p + 2)))
diff -r 345fc1bb6549 -r cd9426c643bc sys/arch/bebox/stand/boot/siop.c
--- a/sys/arch/bebox/stand/boot/siop.c  Mon Jun 19 08:32:39 2023 +0000
+++ b/sys/arch/bebox/stand/boot/siop.c  Mon Jun 19 08:40:29 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: siop.c,v 1.13 2023/05/26 06:36:39 andvar Exp $ */
+/*     $NetBSD: siop.c,v 1.14 2023/06/19 08:40:29 msaitoh Exp $        */
 /*
  * Copyright (c) 2010 KIYOHARA Takashi
  * All rights reserved.
@@ -406,7 +406,7 @@ reset:
                        if (target != adp->xs->target ||
                            lun != adp->xs->lun ||
                            tag != 0) {
-                               printf("unknwon resellun:"
+                               printf("unknown resellun:"
                                    " target %d lun %d tag %d\n",
                                    target, lun, tag);
                                goto reset;
diff -r 345fc1bb6549 -r cd9426c643bc sys/arch/powerpc/ibm4xx/dev/mal.c
--- a/sys/arch/powerpc/ibm4xx/dev/mal.c Mon Jun 19 08:32:39 2023 +0000
+++ b/sys/arch/powerpc/ibm4xx/dev/mal.c Mon Jun 19 08:40:29 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mal.c,v 1.4 2021/02/27 20:43:58 rin Exp $ */
+/* $NetBSD: mal.c,v 1.5 2023/06/19 08:40:30 msaitoh Exp $ */
 /*
  * Copyright (c) 2010 KIYOHARA Takashi
  * All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mal.c,v 1.4 2021/02/27 20:43:58 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mal.c,v 1.5 2023/06/19 08:40:30 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -73,7 +73,7 @@ mal_attach(int pvr)
                if (maltbl[i].pvr == pvr)
                        break;
        if (i == __arraycount(maltbl)) {
-               aprint_error("%s: unknwon pvr 0x%x\n", __func__, pvr);
+               aprint_error("%s: unknown pvr 0x%x\n", __func__, pvr);
                return;
        }
 
diff -r 345fc1bb6549 -r cd9426c643bc sys/arch/prep/stand/boot/siop.c
--- a/sys/arch/prep/stand/boot/siop.c   Mon Jun 19 08:32:39 2023 +0000
+++ b/sys/arch/prep/stand/boot/siop.c   Mon Jun 19 08:40:29 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: siop.c,v 1.6 2022/06/03 12:10:50 andvar Exp $  */
+/*     $NetBSD: siop.c,v 1.7 2023/06/19 08:40:30 msaitoh Exp $ */
 /*
  * Copyright (c) 2010 KIYOHARA Takashi
  * All rights reserved.
@@ -385,7 +385,7 @@ reset:
                        if (target != adp->xs->target ||
                            lun != adp->xs->lun ||
                            tag != 0) {
-                               printf("unknwon resellun:"
+                               printf("unknown resellun:"
                                    " target %d lun %d tag %d\n",
                                    target, lun, tag);
                                goto reset;
diff -r 345fc1bb6549 -r cd9426c643bc sys/dev/marvell/gtidmac.c
--- a/sys/dev/marvell/gtidmac.c Mon Jun 19 08:32:39 2023 +0000
+++ b/sys/dev/marvell/gtidmac.c Mon Jun 19 08:40:29 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gtidmac.c,v 1.18 2021/07/24 21:31:37 andvar Exp $      */
+/*     $NetBSD: gtidmac.c,v 1.19 2023/06/19 08:40:30 msaitoh Exp $     */
 /*
  * Copyright (c) 2008, 2012, 2016 KIYOHARA Takashi
  * All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gtidmac.c,v 1.18 2021/07/24 21:31:37 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gtidmac.c,v 1.19 2023/06/19 08:40:30 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -1886,14 +1886,14 @@ gtidmac_dump_idmacreg(struct gtidmac_sof
            (val & GTIDMAC_CCLR_SBL_MASK) == GTIDMAC_CCLR_SBL_32B ? "32" :
            (val & GTIDMAC_CCLR_SBL_MASK) == GTIDMAC_CCLR_SBL_16B ? "16" :
            (val & GTIDMAC_CCLR_SBL_MASK) == GTIDMAC_CCLR_SBL_8B ? "8" :
-           "unknwon");
+           "unknown");
        printf("    DstBurstLimit            : %s Bytes\n",
          (val & GTIDMAC_CCLR_DBL_MASK) == GTIDMAC_CCLR_DBL_128B ? "128" :
            (val & GTIDMAC_CCLR_DBL_MASK) == GTIDMAC_CCLR_DBL_64B ? "64" :
            (val & GTIDMAC_CCLR_DBL_MASK) == GTIDMAC_CCLR_DBL_32B ? "32" :
            (val & GTIDMAC_CCLR_DBL_MASK) == GTIDMAC_CCLR_DBL_16B ? "16" :
            (val & GTIDMAC_CCLR_DBL_MASK) == GTIDMAC_CCLR_DBL_8B ? "8" :
-           "unknwon");
+           "unknown");
        printf("    ChainMode                : %sChained\n",
            val & GTIDMAC_CCLR_CHAINMODE_NC ? "Non-" : "");
        printf("    TransferMode             : %s\n",
@@ -1987,12 +1987,12 @@ gtidmac_dump_xorereg(struct gtidmac_soft
          (val & MVXORE_XEXCR_SBL_MASK) == MVXORE_XEXCR_SBL_128B ? "128" :
            (val & MVXORE_XEXCR_SBL_MASK) == MVXORE_XEXCR_SBL_64B ? "64" :
            (val & MVXORE_XEXCR_SBL_MASK) == MVXORE_XEXCR_SBL_32B ? "32" :
-           "unknwon");
+           "unknown");
        printf("    DstBurstLimit : %s Bytes\n",
          (val & MVXORE_XEXCR_SBL_MASK) == MVXORE_XEXCR_SBL_128B ? "128" :
            (val & MVXORE_XEXCR_SBL_MASK) == MVXORE_XEXCR_SBL_64B ? "64" :
            (val & MVXORE_XEXCR_SBL_MASK) == MVXORE_XEXCR_SBL_32B ? "32" :
-           "unknwon");
+           "unknown");
        val =



Home | Main Index | Thread Index | Old Index