From 9bec9e437814d912a96fbd6178318d8771001434 Mon Sep 17 00:00:00 2001 From: jsg Date: Mon, 10 Apr 2023 04:21:19 +0000 Subject: [PATCH] spelling --- sys/arch/amd64/amd64/db_disasm.c | 4 ++-- sys/arch/amd64/include/mpbiosreg.h | 4 ++-- sys/arch/armv7/exynos/ec_commands.h | 2 +- sys/arch/armv7/marvell/mvmpic.c | 4 ++-- sys/arch/hppa/include/atomic.h | 4 ++-- sys/arch/i386/include/mpbiosreg.h | 4 ++-- sys/arch/luna88k/stand/boot/ufs_disksubr.c | 4 ++-- sys/arch/sh/sh/clock.c | 4 ++-- sys/arch/sparc64/sparc64/mdesc.c | 4 ++-- sys/dev/dt/dtvar.h | 4 ++-- sys/dev/fdt/fanpwr.c | 4 ++-- sys/dev/fdt/rkpmic.c | 6 +++--- sys/dev/pci/mbg.c | 4 ++-- sys/uvm/uvm_map.c | 8 ++++---- sys/uvm/uvm_pmemrange.c | 6 +++--- sys/uvm/uvm_vnode.c | 4 ++-- 16 files changed, 35 insertions(+), 35 deletions(-) diff --git a/sys/arch/amd64/amd64/db_disasm.c b/sys/arch/amd64/amd64/db_disasm.c index b1879e8254f..8a0be937e42 100644 --- a/sys/arch/amd64/amd64/db_disasm.c +++ b/sys/arch/amd64/amd64/db_disasm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_disasm.c,v 1.22 2020/09/11 09:27:09 mpi Exp $ */ +/* $OpenBSD: db_disasm.c,v 1.23 2023/04/10 04:21:19 jsg Exp $ */ /* $NetBSD: db_disasm.c,v 1.11 1996/05/03 19:41:58 christos Exp $ */ /* @@ -1176,7 +1176,7 @@ db_disasm(vaddr_t loc, int altfmt) if (segovr_grp > 1) seg = " "; if (repe > 0 && repne > 0) - db_printf(" "); + db_printf(" "); else if (repe > 0) db_printf("repe "); /* XXX "rep" if not CMPSx or SCASx */ else if (repne > 0) diff --git a/sys/arch/amd64/include/mpbiosreg.h b/sys/arch/amd64/include/mpbiosreg.h index 9e284b053ad..3a4fea6af08 100644 --- a/sys/arch/amd64/include/mpbiosreg.h +++ b/sys/arch/amd64/include/mpbiosreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mpbiosreg.h,v 1.4 2011/03/23 16:54:34 pirofti Exp $ */ +/* $OpenBSD: mpbiosreg.h,v 1.5 2023/04/10 04:21:20 jsg Exp $ */ /* $NetBSD: mpbiosreg.h,v 1.3 2003/03/04 23:27:32 fvdl Exp $ */ /*- @@ -52,7 +52,7 @@ #define MPS_MCT_NTYPES 5 /* - * Interrupt typess + * Interrupt types */ #define MPS_INTTYPE_INT 0 diff --git a/sys/arch/armv7/exynos/ec_commands.h b/sys/arch/armv7/exynos/ec_commands.h index 4671c997ff1..639062bcfe3 100644 --- a/sys/arch/armv7/exynos/ec_commands.h +++ b/sys/arch/armv7/exynos/ec_commands.h @@ -390,7 +390,7 @@ struct ec_response_get_cmd_versions { } __packed; /* - * Check EC communcations status (busy). This is needed on i2c/spi but not + * Check EC communications status (busy). This is needed on i2c/spi but not * on lpc since it has its own out-of-band busy indicator. * * lpc must read the status from the command register. Attempting this on diff --git a/sys/arch/armv7/marvell/mvmpic.c b/sys/arch/armv7/marvell/mvmpic.c index 11d05bf58c4..e34ac37762e 100644 --- a/sys/arch/armv7/marvell/mvmpic.c +++ b/sys/arch/armv7/marvell/mvmpic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mvmpic.c,v 1.6 2023/03/05 04:30:08 jmatthew Exp $ */ +/* $OpenBSD: mvmpic.c,v 1.7 2023/04/10 04:21:20 jsg Exp $ */ /* * Copyright (c) 2007,2009,2011 Dale Rahn * Copyright (c) 2015 Patrick Wildt @@ -129,7 +129,7 @@ mpic_attach(struct device *parent, struct device *self, void *args) /* Clear pending IPIs */ bus_space_write_4(sc->sc_iot, sc->sc_c_ioh, MPIC_DOORBELL_CAUSE, 0); - /* Enable hardware priorization selection */ + /* Enable hardware prioritization selection */ bus_space_write_4(sc->sc_iot, sc->sc_m_ioh, MPIC_CTRL, MPIC_CTRL_PRIO_EN); diff --git a/sys/arch/hppa/include/atomic.h b/sys/arch/hppa/include/atomic.h index 54889a670aa..b7ecc3c2cf2 100644 --- a/sys/arch/hppa/include/atomic.h +++ b/sys/arch/hppa/include/atomic.h @@ -1,4 +1,4 @@ -/* $OpenBSD: atomic.h,v 1.11 2018/05/14 09:33:20 kettenis Exp $ */ +/* $OpenBSD: atomic.h,v 1.12 2023/04/10 04:21:20 jsg Exp $ */ /* Public Domain */ @@ -246,7 +246,7 @@ atomic_clearbits_long(volatile unsigned long *uip, unsigned long v) /* * Although the PA-RISC 2.0 architecture allows an implementation to - * be weakly ordered, all PA-RISC processers to date implement a + * be weakly ordered, all PA-RISC processors to date implement a * strong memory ordering model. So all we need is a compiler * barrier. */ diff --git a/sys/arch/i386/include/mpbiosreg.h b/sys/arch/i386/include/mpbiosreg.h index d1af6118619..c84a66ecbcd 100644 --- a/sys/arch/i386/include/mpbiosreg.h +++ b/sys/arch/i386/include/mpbiosreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mpbiosreg.h,v 1.5 2011/03/23 16:54:35 pirofti Exp $ */ +/* $OpenBSD: mpbiosreg.h,v 1.6 2023/04/10 04:21:20 jsg Exp $ */ /* $NetBSD: mpbiosreg.h,v 1.1.2.3 2000/02/29 13:17:51 sommerfeld Exp $ */ /*- @@ -52,7 +52,7 @@ #define MPS_MCT_NTYPES 5 /* - * Interrupt typess + * Interrupt types */ #define MPS_INTTYPE_INT 0 diff --git a/sys/arch/luna88k/stand/boot/ufs_disksubr.c b/sys/arch/luna88k/stand/boot/ufs_disksubr.c index 80e0ef8113f..5069ae456d5 100644 --- a/sys/arch/luna88k/stand/boot/ufs_disksubr.c +++ b/sys/arch/luna88k/stand/boot/ufs_disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ufs_disksubr.c,v 1.6 2022/10/14 13:22:57 krw Exp $ */ +/* $OpenBSD: ufs_disksubr.c,v 1.7 2023/04/10 04:21:20 jsg Exp $ */ /* $NetBSD: ufs_disksubr.c,v 1.2 2013/01/14 01:37:57 tsutsui Exp $ */ /* @@ -106,7 +106,7 @@ sun_extended_sum(struct sun_disklabel *sl, void *end) /* * Attempt to read a disk label from a device - * using the indicated stategy routine. + * using the indicated strategy routine. * The label must be partly set up before this: * secpercyl and anything required in the strategy routine * (e.g., sector size) must be filled in before calling us. diff --git a/sys/arch/sh/sh/clock.c b/sys/arch/sh/sh/clock.c index 2f6bc799ffe..409a1833482 100644 --- a/sys/arch/sh/sh/clock.c +++ b/sys/arch/sh/sh/clock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clock.c,v 1.13 2023/03/12 22:18:58 cheloha Exp $ */ +/* $OpenBSD: clock.c,v 1.14 2023/04/10 04:21:20 jsg Exp $ */ /* $NetBSD: clock.c,v 1.32 2006/09/05 11:09:36 uwe Exp $ */ /*- @@ -56,7 +56,7 @@ * + default 64Hz * + use TMU channel 0 as clock interrupt source. * + use TMU channel 1 as emulated software interrupt source. - * + use TMU channel 2 as freeruuning counter for timecounter. + * + use TMU channel 2 as freerunning counter for timecounter. * + If RTC module is active, TMU channel 0 input source is RTC output. * (1.6384kHz) */ diff --git a/sys/arch/sparc64/sparc64/mdesc.c b/sys/arch/sparc64/sparc64/mdesc.c index 6dd900c709c..6fe713d07bf 100644 --- a/sys/arch/sparc64/sparc64/mdesc.c +++ b/sys/arch/sparc64/sparc64/mdesc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mdesc.c,v 1.8 2019/10/20 16:27:19 kettenis Exp $ */ +/* $OpenBSD: mdesc.c,v 1.9 2023/04/10 04:21:20 jsg Exp $ */ /* * Copyright (c) 2009 Mark Kettenis * @@ -116,7 +116,7 @@ pri_init(void) /* * We can only fetch the physical resource inventory this way - * if the firmware supports parellel boot. + * if the firmware supports parallel boot. */ if (prom_set_sun4v_api_version(HSVC_GROUP_PARALLEL_BOOT, 1, 0, &minor)) return; diff --git a/sys/dev/dt/dtvar.h b/sys/dev/dt/dtvar.h index 1e01f53de5d..5d4aeac21a9 100644 --- a/sys/dev/dt/dtvar.h +++ b/sys/dev/dt/dtvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dtvar.h,v 1.15 2023/03/10 22:14:32 bluhm Exp $ */ +/* $OpenBSD: dtvar.h,v 1.16 2023/04/10 04:21:20 jsg Exp $ */ /* * Copyright (c) 2019 Martin Pieuchot @@ -182,7 +182,7 @@ struct dt_pcb { /* Event states ring */ unsigned int dp_prod; /* [m] read index */ unsigned int dp_cons; /* [m] write index */ - struct dt_evt *dp_ring; /* [m] ring of event sates */ + struct dt_evt *dp_ring; /* [m] ring of event states */ struct mutex dp_mtx; struct dt_softc *dp_sc; /* [I] related softc */ diff --git a/sys/dev/fdt/fanpwr.c b/sys/dev/fdt/fanpwr.c index 2036d73b3dd..4f828a0c26c 100644 --- a/sys/dev/fdt/fanpwr.c +++ b/sys/dev/fdt/fanpwr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fanpwr.c,v 1.6 2023/02/13 19:16:50 kettenis Exp $ */ +/* $OpenBSD: fanpwr.c,v 1.7 2023/04/10 04:21:20 jsg Exp $ */ /* * Copyright (c) 2018 Mark Kettenis * @@ -44,7 +44,7 @@ #define TCS4525_TIME_SLEW_MASK (0x3 << 3) #define TCS4525_TIME_SLEW_SHIFT 3 -/* Distinguish between Failrchild original and Silergy clones. */ +/* Distinguish between Fairchild original and Silergy clones. */ enum fanpwr_id { FANPWR_FAN53555, /* Fairchild FAN53555 */ FANPWR_SYR827, /* Silergy SYR827 */ diff --git a/sys/dev/fdt/rkpmic.c b/sys/dev/fdt/rkpmic.c index f867e960c85..3863b793b49 100644 --- a/sys/dev/fdt/rkpmic.c +++ b/sys/dev/fdt/rkpmic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rkpmic.c,v 1.12 2022/10/12 13:39:50 kettenis Exp $ */ +/* $OpenBSD: rkpmic.c,v 1.13 2023/04/10 04:21:20 jsg Exp $ */ /* * Copyright (c) 2017 Mark Kettenis * @@ -474,7 +474,7 @@ rkpmic_gettime(struct todr_chip_handle *handle, struct timeval *tv) /* * The RTC thinks November has 31 days. Match what Linux does - * and undo the damage by considering the calenders to be in + * and undo the damage by considering the calendars to be in * sync on January 1st 2016. */ secs = clock_ymdhms_to_secs(&dt); @@ -497,7 +497,7 @@ rkpmic_settime(struct todr_chip_handle *handle, struct timeval *tv) * Don't try to be clever, just do the conversion in two * steps, first taking care of November 31 in previous years, * and then taking care of days in December of the current - * year. Decmber 1st turns into November 31st! + * year. December 1st turns into November 31st! */ secs = tv->tv_sec; clock_secs_to_ymdhms(secs, &dt); diff --git a/sys/dev/pci/mbg.c b/sys/dev/pci/mbg.c index be7bff2d5d1..417eff4ff15 100644 --- a/sys/dev/pci/mbg.c +++ b/sys/dev/pci/mbg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mbg.c,v 1.33 2022/03/11 18:00:50 mpi Exp $ */ +/* $OpenBSD: mbg.c,v 1.34 2023/04/10 04:21:20 jsg Exp $ */ /* * Copyright (c) 2006, 2007 Marc Balmer @@ -557,7 +557,7 @@ mbg_read_asic(struct mbg_softc *sc, int cmd, char *buf, size_t len, } /* - * degrade the sensor state if we are feerunning for more than + * degrade the sensor state if we are freerunning for more than * sc->sc_trust seconds. */ void diff --git a/sys/uvm/uvm_map.c b/sys/uvm/uvm_map.c index cde8d16cee6..68bd274b934 100644 --- a/sys/uvm/uvm_map.c +++ b/sys/uvm/uvm_map.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_map.c,v 1.313 2023/02/24 15:17:48 mpi Exp $ */ +/* $OpenBSD: uvm_map.c,v 1.314 2023/04/10 04:21:20 jsg Exp $ */ /* $NetBSD: uvm_map.c,v 1.86 2000/11/27 08:40:03 chs Exp $ */ /* @@ -1793,7 +1793,7 @@ uvm_map_remap_as_stack(struct proc *p, vaddr_t addr, vaddr_t sz) /* * UVM_FLAG_SIGALTSTACK indicates that immutable may be bypassed, - * but the range is checked that it is contigous, is not a syscall + * but the range is checked that it is contiguous, is not a syscall * mapping, and protection RW. Then, a new mapping (all zero) is * placed upon the region, which prevents an attacker from pivoting * into pre-placed MAP_STACK space. @@ -2392,7 +2392,7 @@ out: * all mapped regions. * * Map must not be locked. - * If no flags are specified, all ragions are unwired. + * If no flags are specified, all regions are unwired. */ int uvm_map_pageable_all(struct vm_map *map, int flags, vsize_t limit) @@ -2689,7 +2689,7 @@ uvm_map_splitentry(struct vm_map *map, struct vm_map_entry *orig, * Link orig and next into free-space tree. * * Don't insert 'next' into the addr tree until orig has been linked, - * in case the free-list looks at adjecent entries in the addr tree + * in case the free-list looks at adjacent entries in the addr tree * for its decisions. */ if (orig->fspace > 0) diff --git a/sys/uvm/uvm_pmemrange.c b/sys/uvm/uvm_pmemrange.c index 7a659efc4bf..128772d90ed 100644 --- a/sys/uvm/uvm_pmemrange.c +++ b/sys/uvm/uvm_pmemrange.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_pmemrange.c,v 1.62 2022/06/02 18:00:53 kettenis Exp $ */ +/* $OpenBSD: uvm_pmemrange.c,v 1.63 2023/04/10 04:21:20 jsg Exp $ */ /* * Copyright (c) 2009, 2010 Ariane van der Steldt @@ -41,7 +41,7 @@ * The size tree is not used for memory ranges of 1 page, instead, * single queue is vm_page[0].pageq * - * vm_page[0].fpgsz describes the length of a free range. Two adjecent ranges + * vm_page[0].fpgsz describes the length of a free range. Two adjacent ranges * are joined, unless: * - they have pages in between them which are not free * - they belong to different memtypes (zeroed vs dirty memory) @@ -383,7 +383,7 @@ uvm_pmr_remove(struct uvm_pmemrange *pmr, struct vm_page *pg) * Returns the range thus created (which may be joined with the previous and * next ranges). * If no_join, the caller guarantees that the range cannot possibly join - * with adjecent ranges. + * with adjacent ranges. */ struct vm_page * uvm_pmr_insert_addr(struct uvm_pmemrange *pmr, struct vm_page *pg, int no_join) diff --git a/sys/uvm/uvm_vnode.c b/sys/uvm/uvm_vnode.c index ada3a61f46f..318aebce5a3 100644 --- a/sys/uvm/uvm_vnode.c +++ b/sys/uvm/uvm_vnode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_vnode.c,v 1.131 2022/12/08 21:32:48 kettenis Exp $ */ +/* $OpenBSD: uvm_vnode.c,v 1.132 2023/04/10 04:21:20 jsg Exp $ */ /* $NetBSD: uvm_vnode.c,v 1.36 2000/11/24 20:34:01 chs Exp $ */ /* @@ -912,7 +912,7 @@ uvn_put(struct uvm_object *uobj, struct vm_page **pps, int npages, int flags) * function assumes we hold a reference. * * If the vnode is in the process of being recycled by someone - * else, grabbing a refernce will fail. In that case the + * else, grabbing a reference will fail. In that case the * pages will already be written out by whoever is cleaning * the vnode, so simply return VM_PAGER_AGAIN such that we * skip these pages. -- 2.20.1