fix various typos in comments, mainly origional->original,

extened->extended, incomming->incoming.
bouyer-sunxi-drm
andvar 2022-05-28 21:14:56 +00:00
parent f8dbe39b74
commit 09fb17927e
14 changed files with 45 additions and 45 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: svc.h,v 1.32 2016/01/23 02:36:57 dholland Exp $ */
/* $NetBSD: svc.h,v 1.33 2022/05/28 21:14:56 andvar Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@ -89,7 +89,7 @@ typedef struct __rpc_svcxprt {
int xp_fd;
unsigned short xp_port; /* associated port number */
const struct xp_ops {
/* receive incomming requests */
/* receive incoming requests */
bool_t (*xp_recv)(struct __rpc_svcxprt *, struct rpc_msg *);
/* get transport status */
enum xprt_stat (*xp_stat)(struct __rpc_svcxprt *);

View File

@ -1,4 +1,4 @@
/* $NetBSD: udf_core.c,v 1.12 2022/05/22 11:27:33 andvar Exp $ */
/* $NetBSD: udf_core.c,v 1.13 2022/05/28 21:14:56 andvar Exp $ */
/*
* Copyright (c) 2006, 2008, 2021, 2022 Reinoud Zandijk
@ -30,7 +30,7 @@
#endif
#include <sys/cdefs.h>
__RCSID("$NetBSD: udf_core.c,v 1.12 2022/05/22 11:27:33 andvar Exp $");
__RCSID("$NetBSD: udf_core.c,v 1.13 2022/05/28 21:14:56 andvar Exp $");
#include <stdio.h>
#include <stdlib.h>
@ -3081,7 +3081,7 @@ udf_writeout_VAT(void)
/* --------------------------------------------------------------------- */
/*
* mmc_discinfo and mmc_trackinfo readers modified from origional in udf main
* mmc_discinfo and mmc_trackinfo readers modified from original in udf main
* code in sys/fs/udf/
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap.c,v 1.116 2020/08/19 02:19:07 msaitoh Exp $ */
/* $NetBSD: trap.c,v 1.117 2022/05/28 21:14:56 andvar Exp $ */
/*-
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.116 2020/08/19 02:19:07 msaitoh Exp $");
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.117 2022/05/28 21:14:56 andvar Exp $");
/* #define INTRDEBUG */
/* #define TRAPDEBUG */
@ -1043,7 +1043,7 @@ ss_put_value(struct lwp *l, vaddr_t addr, u_int value)
void
ss_clear_breakpoints(struct lwp *l)
{
/* Restore origional instructions. */
/* Restore original instructions. */
if (l->l_md.md_bpva != 0) {
ss_put_value(l, l->l_md.md_bpva, l->l_md.md_bpsave[0]);
ss_put_value(l, l->l_md.md_bpva + 4, l->l_md.md_bpsave[1]);

View File

@ -1,5 +1,5 @@
#
# $NetBSD: ilsp.s,v 1.2 2015/07/11 10:32:46 kamil Exp $
# $NetBSD: ilsp.s,v 1.3 2022/05/28 21:14:56 andvar Exp $
#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@ -524,7 +524,7 @@ _060LSP__imulu64_:
# fmovm.l &0x0,-(%sp) # save no fpregs
# PROLOGUE END ##########################################################
mov.w %cc,MUL64_CC(%a6) # save incomming ccodes
mov.w %cc,MUL64_CC(%a6) # save incoming ccodes
mov.l 0x8(%a6),%d0 # store multiplier in d0
beq.w mulu64_zero # handle zero separately
@ -635,7 +635,7 @@ _060LSP__imuls64_:
# fmovm.l &0x0,-(%sp) # save no fpregs
# PROLOGUE END ##########################################################
mov.w %cc,MUL64_CC(%a6) # save incomming ccodes
mov.w %cc,MUL64_CC(%a6) # save incoming ccodes
mov.l 0x8(%a6),%d0 # store multiplier in d0
beq.b mulu64_zero # handle zero separately

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap.c,v 1.73 2022/05/28 10:36:22 andvar Exp $ */
/* $NetBSD: trap.c,v 1.74 2022/05/28 21:14:56 andvar Exp $ */
/*-
* Copyright (c) 2011 Reinoud Zandijk <reinoud@netbsd.org>
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.73 2022/05/28 10:36:22 andvar Exp $");
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.74 2022/05/28 21:14:56 andvar Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -569,7 +569,7 @@ illegal_instruction(siginfo_t *info, vaddr_t from_userland, vaddr_t pc, vaddr_t
ksi.ksi_trap = 0; /* XXX */
ksi.ksi_errno = 0; // info->si_errno;
ksi.ksi_code = 0; // info->si_code;
ksi.ksi_addr = (void *) md_get_pc(ucp); /* only relyable source */
ksi.ksi_addr = (void *) md_get_pc(ucp); /* only reliable source */
#if 0
p->p_emul->e_trapsignal(l, &ksi);
@ -583,7 +583,7 @@ illegal_instruction(siginfo_t *info, vaddr_t from_userland, vaddr_t pc, vaddr_t
/*
* handle pass to userland signals
*
* arguments other than the origional siginfo_t are not used
* arguments other than the original siginfo_t are not used
*/
static void
pass_on(siginfo_t *info, vaddr_t from_userland, vaddr_t pc, vaddr_t va)
@ -599,7 +599,7 @@ pass_on(siginfo_t *info, vaddr_t from_userland, vaddr_t pc, vaddr_t va)
ksi.ksi_trap = 0; /* XXX ? */
ksi.ksi_errno = info->si_errno;
ksi.ksi_code = info->si_code;
ksi.ksi_addr = (void *) md_get_pc(ucp); /* only relyable source */
ksi.ksi_addr = (void *) md_get_pc(ucp); /* only reliable source */
trapsignal(l, &ksi);
userret(l);

View File

@ -1,4 +1,4 @@
/* $NetBSD: nilfs_vnops.c,v 1.46 2022/04/10 09:50:45 andvar Exp $ */
/* $NetBSD: nilfs_vnops.c,v 1.47 2022/05/28 21:14:56 andvar Exp $ */
/*
* Copyright (c) 2008, 2009 Reinoud Zandijk
@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef lint
__KERNEL_RCSID(0, "$NetBSD: nilfs_vnops.c,v 1.46 2022/04/10 09:50:45 andvar Exp $");
__KERNEL_RCSID(0, "$NetBSD: nilfs_vnops.c,v 1.47 2022/05/28 21:14:56 andvar Exp $");
#endif /* not lint */
@ -328,7 +328,7 @@ nilfs_trivial_bmap(void *v)
struct vnode *vp = ap->a_vp; /* our node */
struct vnode **vpp = ap->a_vpp; /* return node */
daddr_t *bnp = ap->a_bnp; /* translated */
daddr_t bn = ap->a_bn; /* origional */
daddr_t bn = ap->a_bn; /* original */
int *runp = ap->a_runp;
struct nilfs_node *node = VTOI(vp);
uint64_t *l2vmap;

View File

@ -1,4 +1,4 @@
/* $NetBSD: udf_subr.c,v 1.170 2022/05/15 20:37:51 andvar Exp $ */
/* $NetBSD: udf_subr.c,v 1.171 2022/05/28 21:14:57 andvar Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.170 2022/05/15 20:37:51 andvar Exp $");
__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.171 2022/05/28 21:14:57 andvar Exp $");
#endif /* not lint */
@ -2161,7 +2161,7 @@ udf_update_logvolname(struct udf_mount *ump, char *logvol_id)
if (ump->implementation)
lvi = &ump->implementation->_impl_use.lv_info;
/* logvol's id might be specified as origional so use memmove here */
/* logvol's id might be specified as original so use memmove here */
memmove(lvd->logvol_id, logvol_id, 128);
if (fsd)
memmove(fsd->logvol_id, logvol_id, 128);

View File

@ -1,4 +1,4 @@
/* $NetBSD: udf_vnops.c,v 1.125 2022/05/03 20:52:32 andvar Exp $ */
/* $NetBSD: udf_vnops.c,v 1.126 2022/05/28 21:14:57 andvar Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
__KERNEL_RCSID(0, "$NetBSD: udf_vnops.c,v 1.125 2022/05/03 20:52:32 andvar Exp $");
__KERNEL_RCSID(0, "$NetBSD: udf_vnops.c,v 1.126 2022/05/28 21:14:57 andvar Exp $");
#endif /* not lint */
@ -419,7 +419,7 @@ udf_write(void *v)
/* --------------------------------------------------------------------- */
/*
* `Special' bmap functionality that translates all incomming requests to
* `Special' bmap functionality that translates all incoming requests to
* translate to vop_strategy() calls with the same blocknumbers effectively
* not translating at all.
*/
@ -437,7 +437,7 @@ udf_trivial_bmap(void *v)
struct vnode *vp = ap->a_vp; /* our node */
struct vnode **vpp = ap->a_vpp; /* return node */
daddr_t *bnp = ap->a_bnp; /* translated */
daddr_t bn = ap->a_bn; /* origional */
daddr_t bn = ap->a_bn; /* original */
int *runp = ap->a_runp;
struct udf_node *udf_node = VTOI(vp);
uint32_t lb_size;
@ -1343,7 +1343,7 @@ udf_open(void *v)
/*
* Files marked append-only must be opened for appending.
* TODO: get chflags(2) flags from extened attribute.
* TODO: get chflags(2) flags from extended attribute.
*/
flags = 0;
if ((flags & APPEND) && (ap->a_mode & (FWRITE | O_APPEND)) == FWRITE)
@ -1422,7 +1422,7 @@ udf_check_possible(struct vnode *vp, struct vattr *vap, mode_t mode)
}
/* noone may write immutable files */
/* TODO: get chflags(2) flags from extened attribute. */
/* TODO: get chflags(2) flags from extended attribute. */
flags = 0;
if ((mode & VWRITE) && (flags & IMMUTABLE))
return EPERM;
@ -2021,7 +2021,7 @@ udf_rmdir(void *v)
* Bug alert: we need to remove '..' from the detaching
* udf_node so further lookups of this are not possible. This
* prevents a process in a deleted directory from going to its
* deleted parent. Since `udf_node' is garanteed to be empty
* deleted parent. Since `udf_node' is guaranteed to be empty
* here, trunc it so no fids are there.
*/
dirhash_purge(&udf_node->dir_hash);

View File

@ -1,4 +1,4 @@
/* $NetBSD: dlt.h,v 1.22 2021/12/05 07:13:48 msaitoh Exp $ */
/* $NetBSD: dlt.h,v 1.23 2022/05/28 21:14:57 andvar Exp $ */
/*-
* Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
@ -479,7 +479,7 @@
* interface (irdaX), but not on a raw serial port.
* Note the capture is done in "Linux-cooked" mode, so each packet include
* a fake packet header (struct sll_header). This is because IrDA packet
* decoding is dependant on the direction of the packet (incomming or
* decoding is dependant on the direction of the packet (incoming or
* outgoing).
* When/if other platform implement IrDA capture, we may revisit the
* issue and define a real DLT_IRDA...

View File

@ -1,4 +1,4 @@
/* $NetBSD: rfcomm.h,v 1.18 2014/08/08 03:05:45 rtr Exp $ */
/* $NetBSD: rfcomm.h,v 1.19 2022/05/28 21:14:57 andvar Exp $ */
/*-
* Copyright (c) 2006 Itronix Inc.
@ -55,7 +55,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: rfcomm.h,v 1.18 2014/08/08 03:05:45 rtr Exp $
* $Id: rfcomm.h,v 1.19 2022/05/28 21:14:57 andvar Exp $
* $FreeBSD: src/sys/netgraph/bluetooth/include/ng_btsocket_rfcomm.h,v 1.4 2005/01/11 01:39:53 emax Exp $
*/
@ -102,7 +102,7 @@
#define RFCOMM_MSC_FC 0x02 /* Flow Control asserted */
#define RFCOMM_MSC_RTC 0x04 /* Ready To Communicate */
#define RFCOMM_MSC_RTR 0x08 /* Ready To Receive */
#define RFCOMM_MSC_IC 0x40 /* Incomming Call (RING) */
#define RFCOMM_MSC_IC 0x40 /* Incoming Call (RING) */
#define RFCOMM_MSC_DV 0x80 /* Data Valid */
/* RPN parameters - baud rate */

View File

@ -1,4 +1,4 @@
/* $NetBSD: uscsi_subr.c,v 1.4 2022/05/22 11:27:37 andvar Exp $ */
/* $NetBSD: uscsi_subr.c,v 1.5 2022/05/28 21:14:57 andvar Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -224,7 +224,7 @@ uscsi_check_for_scsi(struct uscsi_dev *disc)
#ifdef USCSI_LINUX_SCSI
/*
* Support code for Linux SCSI code. It uses the ioctl() way of
* communicating since this is more close to the origional NetBSD
* communicating since this is more close to the original NetBSD
* scsipi implementation.
*/
#include <scsi/sg.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: mopchk.c,v 1.15 2020/04/22 23:57:56 joerg Exp $ */
/* $NetBSD: mopchk.c,v 1.16 2022/05/28 21:14:57 andvar Exp $ */
/*
* Copyright (c) 1995-96 Mats O Jansson. All rights reserved.
@ -26,7 +26,7 @@
#include "port.h"
#ifndef lint
__RCSID("$NetBSD: mopchk.c,v 1.15 2020/04/22 23:57:56 joerg Exp $");
__RCSID("$NetBSD: mopchk.c,v 1.16 2022/05/28 21:14:57 andvar Exp $");
#endif
/*
@ -149,7 +149,7 @@ Usage(void)
}
/*
* Process incomming packages.
* Process incoming packages.
* Doesn't actually do anything for mopchk(1)
*/
void

View File

@ -1,4 +1,4 @@
/* $NetBSD: mopd.c,v 1.16 2020/04/22 23:57:56 joerg Exp $ */
/* $NetBSD: mopd.c,v 1.17 2022/05/28 21:14:57 andvar Exp $ */
/*
* Copyright (c) 1993-96 Mats O Jansson. All rights reserved.
@ -25,7 +25,7 @@
*/
#include "port.h"
#ifndef lint
__RCSID("$NetBSD: mopd.c,v 1.16 2020/04/22 23:57:56 joerg Exp $");
__RCSID("$NetBSD: mopd.c,v 1.17 2022/05/28 21:14:57 andvar Exp $");
#endif
/*
@ -161,7 +161,7 @@ Usage(void)
}
/*
* Process incomming packages.
* Process incoming packages.
*/
void
mopProcess(struct if_info *ii, u_char *pkt)

View File

@ -1,4 +1,4 @@
/* $NetBSD: mopprobe.c,v 1.14 2020/04/22 23:57:56 joerg Exp $ */
/* $NetBSD: mopprobe.c,v 1.15 2022/05/28 21:14:57 andvar Exp $ */
/*
* Copyright (c) 1993-96 Mats O Jansson. All rights reserved.
@ -26,7 +26,7 @@
#include "port.h"
#ifndef lint
__RCSID("$NetBSD: mopprobe.c,v 1.14 2020/04/22 23:57:56 joerg Exp $");
__RCSID("$NetBSD: mopprobe.c,v 1.15 2022/05/28 21:14:57 andvar Exp $");
#endif
/*
@ -122,7 +122,7 @@ Usage(void)
}
/*
* Process incomming packages.
* Process incoming packages.
*/
void
mopProcess(struct if_info *ii, u_char *pkt)