Module Name: src Committed By: msaitoh Date: Mon Jun 19 08:40:30 UTC 2023
Modified Files: src/lib/libc/nameser: ns_name.c src/sys/arch/alpha/mcbus: mcbus.c src/sys/arch/arm/marvell: mvsoc.c mvsocgpp.c mvsocts.c src/sys/arch/bebox/bebox: autoconf.c src/sys/arch/bebox/stand/boot: siop.c src/sys/arch/powerpc/ibm4xx/dev: mal.c src/sys/arch/prep/stand/boot: siop.c src/sys/dev/marvell: gtidmac.c src/sys/fs/hfs: libhfs.c Log Message: Fix typo. unknwon -> unknown To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libc/nameser/ns_name.c cvs rdiff -u -r1.25 -r1.26 src/sys/arch/alpha/mcbus/mcbus.c cvs rdiff -u -r1.32 -r1.33 src/sys/arch/arm/marvell/mvsoc.c cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/marvell/mvsocgpp.c cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/marvell/mvsocts.c cvs rdiff -u -r1.27 -r1.28 src/sys/arch/bebox/bebox/autoconf.c cvs rdiff -u -r1.13 -r1.14 src/sys/arch/bebox/stand/boot/siop.c cvs rdiff -u -r1.4 -r1.5 src/sys/arch/powerpc/ibm4xx/dev/mal.c cvs rdiff -u -r1.6 -r1.7 src/sys/arch/prep/stand/boot/siop.c cvs rdiff -u -r1.18 -r1.19 src/sys/dev/marvell/gtidmac.c cvs rdiff -u -r1.17 -r1.18 src/sys/fs/hfs/libhfs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/nameser/ns_name.c diff -u src/lib/libc/nameser/ns_name.c:1.12 src/lib/libc/nameser/ns_name.c:1.13 --- src/lib/libc/nameser/ns_name.c:1.12 Wed Sep 4 12:14:09 2019 +++ src/lib/libc/nameser/ns_name.c Mon Jun 19 08:40:29 2023 @@ -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); } Index: src/sys/arch/alpha/mcbus/mcbus.c diff -u src/sys/arch/alpha/mcbus/mcbus.c:1.25 src/sys/arch/alpha/mcbus/mcbus.c:1.26 --- src/sys/arch/alpha/mcbus/mcbus.c:1.25 Sat Aug 7 16:18:40 2021 +++ src/sys/arch/alpha/mcbus/mcbus.c Mon Jun 19 08:40:29 2023 @@ -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; } } Index: src/sys/arch/arm/marvell/mvsoc.c diff -u src/sys/arch/arm/marvell/mvsoc.c:1.32 src/sys/arch/arm/marvell/mvsoc.c:1.33 --- src/sys/arch/arm/marvell/mvsoc.c:1.32 Mon Aug 30 00:04:30 2021 +++ src/sys/arch/arm/marvell/mvsoc.c Mon Jun 19 08:40:29 2023 @@ -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))); Index: src/sys/arch/arm/marvell/mvsocgpp.c diff -u src/sys/arch/arm/marvell/mvsocgpp.c:1.8 src/sys/arch/arm/marvell/mvsocgpp.c:1.9 --- src/sys/arch/arm/marvell/mvsocgpp.c:1.8 Sat Aug 7 16:18:44 2021 +++ src/sys/arch/arm/marvell/mvsocgpp.c Mon Jun 19 08:40:29 2023 @@ -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)); Index: src/sys/arch/arm/marvell/mvsocts.c diff -u src/sys/arch/arm/marvell/mvsocts.c:1.2 src/sys/arch/arm/marvell/mvsocts.c:1.3 --- src/sys/arch/arm/marvell/mvsocts.c:1.2 Fri Nov 6 12:50:30 2015 +++ src/sys/arch/arm/marvell/mvsocts.c Mon Jun 19 08:40:29 2023 @@ -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; } Index: src/sys/arch/bebox/bebox/autoconf.c diff -u src/sys/arch/bebox/bebox/autoconf.c:1.27 src/sys/arch/bebox/bebox/autoconf.c:1.28 --- src/sys/arch/bebox/bebox/autoconf.c:1.27 Sun Dec 13 19:38:09 2015 +++ src/sys/arch/bebox/bebox/autoconf.c Mon Jun 19 08:40:29 2023 @@ -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))) Index: src/sys/arch/bebox/stand/boot/siop.c diff -u src/sys/arch/bebox/stand/boot/siop.c:1.13 src/sys/arch/bebox/stand/boot/siop.c:1.14 --- src/sys/arch/bebox/stand/boot/siop.c:1.13 Fri May 26 06:36:39 2023 +++ src/sys/arch/bebox/stand/boot/siop.c Mon Jun 19 08:40:29 2023 @@ -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; Index: src/sys/arch/powerpc/ibm4xx/dev/mal.c diff -u src/sys/arch/powerpc/ibm4xx/dev/mal.c:1.4 src/sys/arch/powerpc/ibm4xx/dev/mal.c:1.5 --- src/sys/arch/powerpc/ibm4xx/dev/mal.c:1.4 Sat Feb 27 20:43:58 2021 +++ src/sys/arch/powerpc/ibm4xx/dev/mal.c Mon Jun 19 08:40:30 2023 @@ -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; } Index: src/sys/arch/prep/stand/boot/siop.c diff -u src/sys/arch/prep/stand/boot/siop.c:1.6 src/sys/arch/prep/stand/boot/siop.c:1.7 --- src/sys/arch/prep/stand/boot/siop.c:1.6 Fri Jun 3 12:10:50 2022 +++ src/sys/arch/prep/stand/boot/siop.c Mon Jun 19 08:40:30 2023 @@ -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; Index: src/sys/dev/marvell/gtidmac.c diff -u src/sys/dev/marvell/gtidmac.c:1.18 src/sys/dev/marvell/gtidmac.c:1.19 --- src/sys/dev/marvell/gtidmac.c:1.18 Sat Jul 24 21:31:37 2021 +++ src/sys/dev/marvell/gtidmac.c Mon Jun 19 08:40:30 2023 @@ -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 = bus_space_read_4(sc->sc_iot, sc->sc_ioh, MVXORE_XEXACTR(sc, chan)); printf(" Activation : 0x%08x\n", val); Index: src/sys/fs/hfs/libhfs.c diff -u src/sys/fs/hfs/libhfs.c:1.17 src/sys/fs/hfs/libhfs.c:1.18 --- src/sys/fs/hfs/libhfs.c:1.17 Wed Mar 1 16:21:26 2023 +++ src/sys/fs/hfs/libhfs.c Mon Jun 19 08:40:30 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: libhfs.c,v 1.17 2023/03/01 16:21:26 riastradh Exp $ */ +/* $NetBSD: libhfs.c,v 1.18 2023/06/19 08:40:30 msaitoh Exp $ */ /*- * Copyright (c) 2005, 2007 The NetBSD Foundation, Inc. @@ -47,7 +47,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: libhfs.c,v 1.17 2023/03/01 16:21:26 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: libhfs.c,v 1.18 2023/06/19 08:40:30 msaitoh Exp $"); #include "libhfs.h" @@ -759,7 +759,7 @@ hfslib_find_extent_record_with_key(hfs_v else if (nd.kind == HFS_LEAFNODE) break; else - HFS_LIBERR("unknwon node type for extents overflow node #%i",curnode); + HFS_LIBERR("unknown node type for extents overflow node #%i",curnode); } while (nd.kind != HFS_LEAFNODE); result = 0;