From b076d4fbebafae606a76f05c94dc5e380cae980b Mon Sep 17 00:00:00 2001 From: jsg Date: Tue, 30 May 2023 08:30:00 +0000 Subject: [PATCH] spelling ok jmc@ guenther@ tb@ --- sys/arch/amd64/stand/biosboot/biosboot.S | 4 ++-- sys/arch/arm/include/cpufunc.h | 4 ++-- sys/arch/arm64/arm64/cpu.c | 4 ++-- sys/arch/i386/i386/pmapae.c | 4 ++-- sys/arch/i386/stand/biosboot/biosboot.S | 4 ++-- sys/arch/sh/dev/scif.c | 4 ++-- sys/dev/fdt/if_dwqe_fdt.c | 4 ++-- sys/dev/isa/if_ex.c | 4 ++-- sys/dev/microcode/aic7xxx/aicasm.c | 6 +++--- sys/dev/pcmcia/if_xe.c | 4 ++-- sys/kern/kern_exec.c | 4 ++-- sys/kern/subr_blist.c | 14 +++++++------- sys/kern/subr_prof.c | 4 ++-- sys/kern/subr_witness.c | 4 ++-- sys/net/if_var.h | 4 ++-- sys/net/if_wg.c | 4 ++-- sys/uvm/uvm_extern.h | 4 ++-- sys/uvm/uvm_pdaemon.c | 4 ++-- 18 files changed, 42 insertions(+), 42 deletions(-) diff --git a/sys/arch/amd64/stand/biosboot/biosboot.S b/sys/arch/amd64/stand/biosboot/biosboot.S index 3b589f2b651..64b0dd578e2 100644 --- a/sys/arch/amd64/stand/biosboot/biosboot.S +++ b/sys/arch/amd64/stand/biosboot/biosboot.S @@ -1,4 +1,4 @@ -/* $OpenBSD: biosboot.S,v 1.12 2022/08/31 10:46:33 krw Exp $ */ +/* $OpenBSD: biosboot.S,v 1.13 2023/05/30 08:30:00 jsg Exp $ */ /* * Copyright (c) 2003 Tobias Weingartner @@ -420,7 +420,7 @@ load_blocks: /* * The addw could be a 3 byte instruction, but stick to a 4 byte - * one since the former inroduces mysterious hangs on *some* + * one since the former introduces mysterious hangs on *some* * BIOS implementations, possibly alignment related. * Grand prize for somebody finding the root cause! */ diff --git a/sys/arch/arm/include/cpufunc.h b/sys/arch/arm/include/cpufunc.h index 893f0c68191..e647641896a 100644 --- a/sys/arch/arm/include/cpufunc.h +++ b/sys/arch/arm/include/cpufunc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpufunc.h,v 1.33 2021/05/16 03:39:27 jsg Exp $ */ +/* $OpenBSD: cpufunc.h,v 1.34 2023/05/30 08:30:00 jsg Exp $ */ /* $NetBSD: cpufunc.h,v 1.29 2003/09/06 09:08:35 rearnsha Exp $ */ /* @@ -101,7 +101,7 @@ struct cpu_functions { * * I-cache Synch (all or range): * The goal is to synchronize the instruction stream, - * so you may beed to write-back dirty D-cache blocks + * so you may need to write-back dirty D-cache blocks * first. If a range is requested, and you can't * synchronize just a range, you have to hit the whole * thing. diff --git a/sys/arch/arm64/arm64/cpu.c b/sys/arch/arm64/arm64/cpu.c index c6fe11439fe..0ada77aad66 100644 --- a/sys/arch/arm64/arm64/cpu.c +++ b/sys/arch/arm64/arm64/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.91 2023/05/29 02:26:14 jsg Exp $ */ +/* $OpenBSD: cpu.c,v 1.92 2023/05/30 08:30:00 jsg Exp $ */ /* * Copyright (c) 2016 Dale Rahn @@ -1700,7 +1700,7 @@ cpu_psci_init(struct cpu_info *ci) int idx, len, node; /* - * Hunt for the deppest idle state for this CPU. This is + * Hunt for the deepest idle state for this CPU. This is * fairly complicated as it requires traversing quite a few * nodes in the device tree. The first step is to look up the * "psci" power domain for this CPU. diff --git a/sys/arch/i386/i386/pmapae.c b/sys/arch/i386/i386/pmapae.c index e2f6c05a5e5..37e77ecbc3b 100644 --- a/sys/arch/i386/i386/pmapae.c +++ b/sys/arch/i386/i386/pmapae.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmapae.c,v 1.70 2023/04/13 15:23:22 miod Exp $ */ +/* $OpenBSD: pmapae.c,v 1.71 2023/05/30 08:30:01 jsg Exp $ */ /* * Copyright (c) 2006-2008 Michael Shalayeff @@ -1965,7 +1965,7 @@ pmap_enter_special_pae(vaddr_t va, paddr_t pa, vm_prot_t prot, u_int32_t flags) /* npa = physaddr of PT page */ npa = pd[l2idx] & PMAP_PA_MASK; - /* Valide PDE for the 2MB region containing va? */ + /* Valid PDE for the 2MB region containing va? */ if (!npa) { /* * No valid PDE - allocate PT page and set PDE. We diff --git a/sys/arch/i386/stand/biosboot/biosboot.S b/sys/arch/i386/stand/biosboot/biosboot.S index f7ddd7e47e3..b0b8a6ff030 100644 --- a/sys/arch/i386/stand/biosboot/biosboot.S +++ b/sys/arch/i386/stand/biosboot/biosboot.S @@ -1,4 +1,4 @@ -/* $OpenBSD: biosboot.S,v 1.45 2022/09/01 08:18:20 krw Exp $ */ +/* $OpenBSD: biosboot.S,v 1.46 2023/05/30 08:30:01 jsg Exp $ */ /* * Copyright (c) 2003 Tobias Weingartner @@ -420,7 +420,7 @@ load_blocks: /* * The addw could be a 3 byte instruction, but stick to a 4 byte - * one since the former inroduces mysterious hangs on *some* + * one since the former introduces mysterious hangs on *some* * BIOS implementations, possibly alignment related. * Grand prize for somebody finding the root cause! */ diff --git a/sys/arch/sh/dev/scif.c b/sys/arch/sh/dev/scif.c index e4592d99e64..bb9de324655 100644 --- a/sys/arch/sh/dev/scif.c +++ b/sys/arch/sh/dev/scif.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scif.c,v 1.22 2022/07/02 08:50:41 visa Exp $ */ +/* $OpenBSD: scif.c,v 1.23 2023/05/30 08:30:01 jsg Exp $ */ /* $NetBSD: scif.c,v 1.47 2006/07/23 22:06:06 ad Exp $ */ /*- @@ -238,7 +238,7 @@ static int scif_attached; void InitializeScif(unsigned int); /* - * following functions are debugging prupose only + * following functions are for debugging purposes only */ #define CR 0x0D #define USART_ON (unsigned int)~0x08 diff --git a/sys/dev/fdt/if_dwqe_fdt.c b/sys/dev/fdt/if_dwqe_fdt.c index f189524755b..a9755691b3e 100644 --- a/sys/dev/fdt/if_dwqe_fdt.c +++ b/sys/dev/fdt/if_dwqe_fdt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_dwqe_fdt.c,v 1.11 2023/04/24 01:33:32 dlg Exp $ */ +/* $OpenBSD: if_dwqe_fdt.c,v 1.12 2023/05/30 08:30:01 jsg Exp $ */ /* * Copyright (c) 2008, 2019 Mark Kettenis * Copyright (c) 2017, 2022 Patrick Wildt @@ -240,7 +240,7 @@ dwqe_fdt_attach(struct device *parent, struct device *self, void *aux) sc->sc_ifd.if_ifp = ifp; if_register(&sc->sc_ifd); - /* force a configuraton of the clocks/mac */ + /* force a configuration of the clocks/mac */ if (sc->sc_fixed_link) sc->sc_mii.mii_statchg(self); } diff --git a/sys/dev/isa/if_ex.c b/sys/dev/isa/if_ex.c index 6de88afe168..d3341244fcb 100644 --- a/sys/dev/isa/if_ex.c +++ b/sys/dev/isa/if_ex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ex.c,v 1.48 2022/04/06 18:59:28 naddy Exp $ */ +/* $OpenBSD: if_ex.c,v 1.49 2023/05/30 08:30:01 jsg Exp $ */ /* * Copyright (c) 1997, Donald A. Schmidt * Copyright (c) 1996, Javier Martín Rueda (jmrueda@diatel.upm.es) @@ -216,7 +216,7 @@ ex_probe(struct device *parent, void *match, void *aux) tmp = ex_eeprom_read(sc, EE_IRQ_No) & IRQ_No_Mask; if (ia->ia_irq > 0) { if (ee2irqmap[tmp] != ia->ia_irq) - printf("ex: WARING: board's EEPROM is configured for IRQ %d, using %d\n", ee2irqmap[tmp], ia->ia_irq); + printf("ex: WARNING: board's EEPROM is configured for IRQ %d, using %d\n", ee2irqmap[tmp], ia->ia_irq); sc->irq_no = ia->ia_irq; } else { diff --git a/sys/dev/microcode/aic7xxx/aicasm.c b/sys/dev/microcode/aic7xxx/aicasm.c index 4bdee59ce31..af3e0bfcb03 100644 --- a/sys/dev/microcode/aic7xxx/aicasm.c +++ b/sys/dev/microcode/aic7xxx/aicasm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aicasm.c,v 1.16 2014/12/19 22:44:58 guenther Exp $ */ +/* $OpenBSD: aicasm.c,v 1.17 2023/05/30 08:30:01 jsg Exp $ */ /* * Aic7xxx SCSI host adapter firmware asssembler * @@ -38,7 +38,7 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGES. * - * $Id: aicasm.c,v 1.16 2014/12/19 22:44:58 guenther Exp $ + * $Id: aicasm.c,v 1.17 2023/05/30 08:30:01 jsg Exp $ * * $FreeBSD: src/sys/dev/aic7xxx/aicasm/aicasm.c,v 1.37 2004/03/12 21:45:25 trhodes Exp $ */ @@ -253,7 +253,7 @@ main(int argc, char *argv[]) argv += optind; if (argc != 1) { - fprintf(stderr, "%s: No input file specifiled\n", appname); + fprintf(stderr, "%s: No input file specified\n", appname); usage(); /* NOTREACHED */ } diff --git a/sys/dev/pcmcia/if_xe.c b/sys/dev/pcmcia/if_xe.c index da1370af751..afc2b2d301e 100644 --- a/sys/dev/pcmcia/if_xe.c +++ b/sys/dev/pcmcia/if_xe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_xe.c,v 1.62 2022/04/06 18:59:30 naddy Exp $ */ +/* $OpenBSD: if_xe.c,v 1.63 2023/05/30 08:30:01 jsg Exp $ */ /* * Copyright (c) 1999 Niklas Hallqvist, Brandon Creighton, Job de Haas @@ -1326,7 +1326,7 @@ xe_full_reset(struct xe_softc *sc) /* Set the local memory dividing line. */ if (sc->sc_rev != 1) { PAGE(sc, 2); - /* XXX Symbolic constant preferrable. */ + /* XXX Symbolic constant preferable. */ bus_space_write_2(bst, bsh, offset + RBS0, 0x2000); } diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index b705a52e491..e7cf2962d41 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_exec.c,v 1.247 2023/04/24 10:22:06 kettenis Exp $ */ +/* $OpenBSD: kern_exec.c,v 1.248 2023/05/30 08:30:01 jsg Exp $ */ /* $NetBSD: kern_exec.c,v 1.75 1996/02/09 18:59:28 christos Exp $ */ /*- @@ -533,7 +533,7 @@ sys_execve(struct proc *p, void *v, register_t *retval) /* * XXX As a transition mechanism, we don't enforce branch - * target control floe integrety on partitions mounted with + * target control flow integrity on partitions mounted with * the wxallowed flag. */ if (pr->ps_textvp->v_mount && diff --git a/sys/kern/subr_blist.c b/sys/kern/subr_blist.c index b0e74b36b6a..ffe3ff4b1e5 100644 --- a/sys/kern/subr_blist.c +++ b/sys/kern/subr_blist.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_blist.c,v 1.3 2022/08/13 16:02:15 semarie Exp $ */ +/* $OpenBSD: subr_blist.c,v 1.4 2023/05/30 08:30:01 jsg Exp $ */ /* DragonFlyBSD:7b80531f545c7d3c51c1660130c71d01f6bccbe0:/sys/kern/subr_blist.c */ /* * BLIST.C - Bitmap allocator/deallocator, using a radix tree with hinting @@ -70,8 +70,8 @@ * due to swap interleaving not all that much less), but the blist code * scales much, much better. * - * LAYOUT: The radix tree is layed out recursively using a - * linear array. Each meta node is immediately followed (layed out + * LAYOUT: The radix tree is laid out recursively using a + * linear array. Each meta node is immediately followed (laid out * sequentially in memory) by BLIST_META_RADIX lower level nodes. This * is a recursive structure but one that can be easily scanned through * a very simple 'skip' calculation. In order to support large radixes, @@ -90,7 +90,7 @@ * ranges. * * NOTE: The radix may exceed BLIST_BMAP_RADIX bits in order to support - * up to 2^(BLIST_BMAP_RADIX-1) blocks. The first divison will + * up to 2^(BLIST_BMAP_RADIX-1) blocks. The first division will * drop the radix down and fit it within a signed BLIST_BMAP_RADIX * bit integer. * @@ -285,7 +285,7 @@ blist_allocat(blist_t bl, swblk_t count, swblk_t blkat) /* * blist_free() - free up space in the block bitmap. Return the base - * of a contiguous region. Panic if an inconsistancy is + * of a contiguous region. Panic if an inconsistency is * found. */ @@ -418,7 +418,7 @@ blst_radix_gapfind(blmeta_t *scan, swblk_t blk, swblk_t radix, swblk_t skip, swblk_t next_skip; if (radix == BLIST_BMAP_RADIX) { - /* leaf node: we considere only completely free bitmap as free */ + /* leaf node: we consider only completely free bitmaps as free */ if (state == GAPFIND_FIRSTFREE) { if (scan->u.bmu_bitmap == (u_swblk_t)-1) { /* node is fully free */ @@ -729,7 +729,7 @@ blst_leaf_free(blmeta_t *scan, swblk_t blk, swblk_t count) * We could probably do a better job here. We are required to make * bighint at least as large as the biggest contiguous block of * data. If we just shoehorn it, a little extra overhead will - * be incured on the next allocation (but only that one typically). + * be incurred on the next allocation (but only that one typically). */ scan->bm_bighint = BLIST_BMAP_RADIX; } diff --git a/sys/kern/subr_prof.c b/sys/kern/subr_prof.c index c578c937094..432c5e2246d 100644 --- a/sys/kern/subr_prof.c +++ b/sys/kern/subr_prof.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_prof.c,v 1.33 2023/04/25 01:32:36 cheloha Exp $ */ +/* $OpenBSD: subr_prof.c,v 1.34 2023/05/30 08:30:01 jsg Exp $ */ /* $NetBSD: subr_prof.c,v 1.12 1996/04/22 01:38:50 christos Exp $ */ /*- @@ -137,7 +137,7 @@ prof_state_toggle(struct gmonparam *gp, int oldstate) #if !defined(GPROF) /* * If this is not a profiling kernel, we need to patch - * all symbols that can be instrummented. + * all symbols that can be instrumented. */ error = db_prof_enable(); #endif diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c index ea61adb6388..418821866fb 100644 --- a/sys/kern/subr_witness.c +++ b/sys/kern/subr_witness.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_witness.c,v 1.49 2023/05/25 19:32:34 kurt Exp $ */ +/* $OpenBSD: subr_witness.c,v 1.50 2023/05/30 08:30:01 jsg Exp $ */ /*- * Copyright (c) 2008 Isilon Systems, Inc. @@ -970,7 +970,7 @@ witness_checkorder(struct lock_object *lock, int flags, /* * If we are locking a sleepable lock and this lock * isn't sleepable, we want to treat it as a lock - * order violation to enfore a general lock order of + * order violation to enforce a general lock order of * sleepable locks before non-sleepable locks. */ if (((lock->lo_flags & LO_SLEEPABLE) != 0 && diff --git a/sys/net/if_var.h b/sys/net/if_var.h index 94480ac14c0..4152d3a3704 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_var.h,v 1.126 2023/05/07 16:23:23 bluhm Exp $ */ +/* $OpenBSD: if_var.h,v 1.127 2023/05/30 08:30:01 jsg Exp $ */ /* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */ /* @@ -186,7 +186,7 @@ struct ifnet { /* and the entries */ struct sockaddr_dl *if_sadl; /* [N] pointer to our sockaddr_dl */ - struct nd_ifinfo *if_nd; /* [I] IPv6 Neighour Discovery info */ + struct nd_ifinfo *if_nd; /* [I] IPv6 Neighbor Discovery info */ }; #define if_mtu if_data.ifi_mtu #define if_type if_data.ifi_type diff --git a/sys/net/if_wg.c b/sys/net/if_wg.c index e311f91cec4..36b9ad8ca32 100644 --- a/sys/net/if_wg.c +++ b/sys/net/if_wg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wg.c,v 1.26 2022/07/21 11:26:50 kn Exp $ */ +/* $OpenBSD: if_wg.c,v 1.27 2023/05/30 08:30:01 jsg Exp $ */ /* * Copyright (C) 2015-2020 Jason A. Donenfeld . All Rights Reserved. @@ -1463,7 +1463,7 @@ wg_handshake_worker(void *_sc) * - The parallel queue is used to distribute the encryption across multiple * threads. * - The serial queue ensures that packets are not reordered and are - * delievered in sequence. + * delivered in sequence. * The wg_tag attached to the packet contains two flags to help the two queues * interact. * - t_done: The parallel queue has finished with the packet, now the serial diff --git a/sys/uvm/uvm_extern.h b/sys/uvm/uvm_extern.h index 994957f7c9e..702d9b9d042 100644 --- a/sys/uvm/uvm_extern.h +++ b/sys/uvm/uvm_extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_extern.h,v 1.167 2023/02/16 04:42:07 deraadt Exp $ */ +/* $OpenBSD: uvm_extern.h,v 1.168 2023/05/30 08:30:01 jsg Exp $ */ /* $NetBSD: uvm_extern.h,v 1.57 2001/03/09 01:02:12 chs Exp $ */ /* @@ -225,7 +225,7 @@ struct vmspace { * such as mbuf pools within address ranges that are reachable by devices * that perform DMA. * - * It is also to discourge memory allocations from being satisfied from ranges + * It is also to discourage memory allocations from being satisfied from ranges * such as the ISA memory range, if they can be satisfied with allocation * from other ranges. * diff --git a/sys/uvm/uvm_pdaemon.c b/sys/uvm/uvm_pdaemon.c index eeee53330cc..a403c306137 100644 --- a/sys/uvm/uvm_pdaemon.c +++ b/sys/uvm/uvm_pdaemon.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_pdaemon.c,v 1.105 2022/09/10 20:35:29 miod Exp $ */ +/* $OpenBSD: uvm_pdaemon.c,v 1.106 2023/05/30 08:30:01 jsg Exp $ */ /* $NetBSD: uvm_pdaemon.c,v 1.23 2000/08/20 10:24:14 bjh21 Exp $ */ /* @@ -236,7 +236,7 @@ uvm_pageout(void *arg) } else { if (uvm_nowait_failed) { /* - * XXX realisticly, this is what our + * XXX realistically, this is what our * nowait callers probably care about */ constraint = dma_constraint; -- 2.20.1