fix typos in comments, mainly s/foward/forward/.

This commit is contained in:
andvar 2022-01-17 20:56:02 +00:00
parent f923619fa4
commit 0ad3f9dae5
8 changed files with 20 additions and 20 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: dfadd.c,v 1.5 2012/02/04 17:03:08 skrll Exp $ */
/* $NetBSD: dfadd.c,v 1.6 2022/01/17 20:56:02 andvar Exp $ */
/* $OpenBSD: dfadd.c,v 1.4 2001/03/29 03:58:17 mickey Exp $ */
@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: dfadd.c,v 1.5 2012/02/04 17:03:08 skrll Exp $");
__KERNEL_RCSID(0, "$NetBSD: dfadd.c,v 1.6 2022/01/17 20:56:02 andvar Exp $");
#include "../spmath/float.h"
#include "../spmath/dbl_float.h"
@ -305,7 +305,7 @@ dbl_fadd(dbl_floating_point *leftptr, dbl_floating_point *rightptr,
if(Dbl_iszero_hidden(resultp1))
{
/* Handle normalization */
/* A straight foward algorithm would now shift the result
/* A straight forward algorithm would now shift the result
* and extension left until the hidden bit becomes one. Not
* all of the extension bits need participate in the shift.
* Only the two most significant bits (round and guard) are

View File

@ -1,4 +1,4 @@
/* $NetBSD: dfsub.c,v 1.5 2012/02/04 17:03:09 skrll Exp $ */
/* $NetBSD: dfsub.c,v 1.6 2022/01/17 20:56:02 andvar Exp $ */
/* $OpenBSD: dfsub.c,v 1.4 2001/03/29 03:58:17 mickey Exp $ */
@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: dfsub.c,v 1.5 2012/02/04 17:03:09 skrll Exp $");
__KERNEL_RCSID(0, "$NetBSD: dfsub.c,v 1.6 2022/01/17 20:56:02 andvar Exp $");
#include "../spmath/float.h"
#include "../spmath/dbl_float.h"
@ -308,7 +308,7 @@ dbl_fsub(dbl_floating_point *leftptr, dbl_floating_point *rightptr,
if(Dbl_iszero_hidden(resultp1))
{
/* Handle normalization */
/* A straight foward algorithm would now shift the result
/* A straight forward algorithm would now shift the result
* and extension left until the hidden bit becomes one. Not
* all of the extension bits need participate in the shift.
* Only the two most significant bits (round and guard) are

View File

@ -1,4 +1,4 @@
/* $NetBSD: sfadd.c,v 1.5 2012/02/04 17:03:10 skrll Exp $ */
/* $NetBSD: sfadd.c,v 1.6 2022/01/17 20:56:02 andvar Exp $ */
/* $OpenBSD: sfadd.c,v 1.4 2001/03/29 03:58:19 mickey Exp $ */
@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sfadd.c,v 1.5 2012/02/04 17:03:10 skrll Exp $");
__KERNEL_RCSID(0, "$NetBSD: sfadd.c,v 1.6 2022/01/17 20:56:02 andvar Exp $");
#include "../spmath/float.h"
#include "../spmath/sgl_float.h"
@ -300,7 +300,7 @@ sgl_fadd(sgl_floating_point *leftptr, sgl_floating_point *rightptr,
if(Sgl_iszero_hidden(result))
{
/* Handle normalization */
/* A straight foward algorithm would now shift the result
/* A straight forward algorithm would now shift the result
* and extension left until the hidden bit becomes one. Not
* all of the extension bits need participate in the shift.
* Only the two most significant bits (round and guard) are

View File

@ -1,4 +1,4 @@
/* $NetBSD: sfsub.c,v 1.5 2012/02/04 17:03:11 skrll Exp $ */
/* $NetBSD: sfsub.c,v 1.6 2022/01/17 20:56:02 andvar Exp $ */
/* $OpenBSD: sfsub.c,v 1.4 2001/03/29 03:58:19 mickey Exp $ */
@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sfsub.c,v 1.5 2012/02/04 17:03:11 skrll Exp $");
__KERNEL_RCSID(0, "$NetBSD: sfsub.c,v 1.6 2022/01/17 20:56:02 andvar Exp $");
#include "../spmath/float.h"
#include "../spmath/sgl_float.h"
@ -303,7 +303,7 @@ sgl_fsub(sgl_floating_point *leftptr, sgl_floating_point *rightptr,
if(Sgl_iszero_hidden(result))
{
/* Handle normalization */
/* A straight foward algorithm would now shift the result
/* A straight forward algorithm would now shift the result
* and extension left until the hidden bit becomes one. Not
* all of the extension bits need participate in the shift.
* Only the two most significant bits (round and guard) are

View File

@ -1,4 +1,4 @@
/* $NetBSD: zsvar.h,v 1.6 2008/03/29 19:15:35 tsutsui Exp $ */
/* $NetBSD: zsvar.h,v 1.7 2022/01/17 20:56:02 andvar Exp $ */
/*
* Copyright (c) 1992, 1993
@ -86,7 +86,7 @@ struct zsdevice {
#define ZRING_VALUE(x) ((x) >> 8)
#define ZRING_MAKE(t, v) ((t) | (v) << 8)
/* forard decl */
/* forward decl */
struct zs_softc;
struct zs_chanstate {

View File

@ -1,4 +1,4 @@
/* $NetBSD: specialreg.h,v 1.186 2022/01/15 10:59:40 msaitoh Exp $ */
/* $NetBSD: specialreg.h,v 1.187 2022/01/17 20:56:02 andvar Exp $ */
/*
* Copyright (c) 2014-2020 The NetBSD Foundation, Inc.
@ -800,7 +800,7 @@
#define CPUID_CAPEX_SSBD __BIT(24) /* Speculation Control SSBD */
#define CPUID_CAPEX_VIRT_SSBD __BIT(25) /* Virt Spec Control SSBD */
#define CPUID_CAPEX_SSB_NO __BIT(26) /* SSBD not required */
#define CPUID_CAPEX_PSFD __BIT(28) /* Predictive Store Froward Dis */
#define CPUID_CAPEX_PSFD __BIT(28) /* Predictive Store Forward Dis */
#define CPUID_CAPEX_FLAGS "\20" \
"\1CLZERO" "\2IRPERF" "\3XSAVEERPTR" \

View File

@ -1,4 +1,4 @@
/* $NetBSD: dc21040reg.h,v 1.20 2021/08/13 20:47:55 andvar Exp $ */
/* $NetBSD: dc21040reg.h,v 1.21 2022/01/17 20:56:02 andvar Exp $ */
/*-
* Copyright (c) 1994, 1995, 1996 Matt Thomas <matt@3am-software.com>
@ -173,7 +173,7 @@ typedef struct {
#define TULIP_CMD_SCRAMBLER 0x01000000L /* (RW) Scrambler Mode (21140) */
#define TULIP_CMD_PCSFUNCTION 0x00800000L /* (RW) PCS Function (21140) */
#define TULIP_CMD_TXTHRSHLDCTL 0x00400000L /* (RW) Transmit Threshold Mode (21140) */
#define TULIP_CMD_STOREFWD 0x00200000L /* (RW) Store and Foward (21140) */
#define TULIP_CMD_STOREFWD 0x00200000L /* (RW) Store and Forward (21140) */
#define TULIP_CMD_NOHEARTBEAT 0x00080000L /* (RW) No Heartbeat (21140) */
#define TULIP_CMD_PORTSELECT 0x00040000L /* (RW) Post Select (100Mb) (21140) */
#define TULIP_CMD_ENHCAPTEFFCT 0x00040000L /* (RW) Enhanced Capture Effect (21041) */

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ipsec.h,v 1.7 2020/02/01 02:57:55 riastradh Exp $ */
/* $NetBSD: if_ipsec.h,v 1.8 2022/01/17 20:56:03 andvar Exp $ */
/*
* Copyright (c) 2017 Internet Initiative Japan Inc.
@ -61,7 +61,7 @@
#define IFF_NAT_T IFF_LINK0 /* enable NAT-T */
#define IFF_ECN IFF_LINK1 /* enable ECN */
#define IFF_FWD_IPV6 IFF_LINK2 /* foward IPv6 packet */
#define IFF_FWD_IPV6 IFF_LINK2 /* forward IPv6 packet */
extern struct psref_class *iv_psref_class;