s/expresion/expression/ in comment.

This commit is contained in:
msaitoh 2019-12-27 09:32:09 +00:00
parent c46d1cc12b
commit b932d49383
6 changed files with 18 additions and 18 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_mc.c,v 1.51 2019/05/28 07:41:46 msaitoh Exp $ */ /* $NetBSD: if_mc.c,v 1.52 2019/12/27 09:32:09 msaitoh Exp $ */
/*- /*-
* Copyright (c) 1997 David Huang <khym@azeotrope.org> * Copyright (c) 1997 David Huang <khym@azeotrope.org>
@ -35,7 +35,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_mc.c,v 1.51 2019/05/28 07:41:46 msaitoh Exp $"); __KERNEL_RCSID(0, "$NetBSD: if_mc.c,v 1.52 2019/12/27 09:32:09 msaitoh Exp $");
#include "opt_ddb.h" #include "opt_ddb.h"
#include "opt_inet.h" #include "opt_inet.h"
@ -117,7 +117,7 @@ ether_cmp(void *one, void *two)
diff |= *a++ - *b++; diff |= *a++ - *b++;
#else #else
/* /*
* Most modern CPUs do better with a single expresion. * Most modern CPUs do better with a single expression.
* Note that short-cut evaluation is NOT helpful here, * Note that short-cut evaluation is NOT helpful here,
* because it just makes the code longer, not faster! * because it just makes the code longer, not faster!
*/ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: am79c950.c,v 1.46 2019/05/29 10:07:28 msaitoh Exp $ */ /* $NetBSD: am79c950.c,v 1.47 2019/12/27 09:32:10 msaitoh Exp $ */
/*- /*-
* Copyright (c) 1997 David Huang <khym@bga.com> * Copyright (c) 1997 David Huang <khym@bga.com>
@ -35,7 +35,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: am79c950.c,v 1.46 2019/05/29 10:07:28 msaitoh Exp $"); __KERNEL_RCSID(0, "$NetBSD: am79c950.c,v 1.47 2019/12/27 09:32:10 msaitoh Exp $");
#include "opt_inet.h" #include "opt_inet.h"
@ -116,7 +116,7 @@ ether_cmp(void *one, void *two)
diff |= *a++ - *b++; diff |= *a++ - *b++;
#else #else
/* /*
* Most modern CPUs do better with a single expresion. * Most modern CPUs do better with a single expression.
* Note that short-cut evaluation is NOT helpful here, * Note that short-cut evaluation is NOT helpful here,
* because it just makes the code longer, not faster! * because it just makes the code longer, not faster!
*/ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: lance.c,v 1.58 2019/05/29 10:07:29 msaitoh Exp $ */ /* $NetBSD: lance.c,v 1.59 2019/12/27 09:32:10 msaitoh Exp $ */
/*- /*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc. * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@ -65,7 +65,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: lance.c,v 1.58 2019/05/29 10:07:29 msaitoh Exp $"); __KERNEL_RCSID(0, "$NetBSD: lance.c,v 1.59 2019/12/27 09:32:10 msaitoh Exp $");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -144,7 +144,7 @@ ether_cmp(void *one, void *two)
diff |= *a++ - *b++; diff |= *a++ - *b++;
#else #else
/* /*
* Most modern CPUs do better with a single expresion. * Most modern CPUs do better with a single expression.
* Note that short-cut evaluation is NOT helpful here, * Note that short-cut evaluation is NOT helpful here,
* because it just makes the code longer, not faster! * because it just makes the code longer, not faster!
*/ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: gtpcireg.h,v 1.6 2010/06/02 06:02:20 kiyohara Exp $ */ /* $NetBSD: gtpcireg.h,v 1.7 2019/12/27 09:32:10 msaitoh Exp $ */
/* /*
* Copyright (c) 2008, 2009 KIYOHARA Takashi * Copyright (c) 2008, 2009 KIYOHARA Takashi
* All rights reserved. * All rights reserved.
@ -78,7 +78,7 @@
#define GTPCI_P2PM0BARL(p) (0x0d5c | ((p) << 7)) /* P2P Mem0 (Low) */ #define GTPCI_P2PM0BARL(p) (0x0d5c | ((p) << 7)) /* P2P Mem0 (Low) */
#define GTPCI_P2PM0BARH(p) (0x0d60 | ((p) << 7)) /* P2P Mem0 (High) */ #define GTPCI_P2PM0BARH(p) (0x0d60 | ((p) << 7)) /* P2P Mem0 (High) */
#define GTPCI_P2PIOBAR(p) (0x0d6c | ((p) << 7)) /* P2P I/O */ #define GTPCI_P2PIOBAR(p) (0x0d6c | ((p) << 7)) /* P2P I/O */
#define GTPCI_EROMBAR(p) (0x0f38 | ((p) << 7)) /* Expresion ROM */ #define GTPCI_EROMBAR(p) (0x0f38 | ((p) << 7)) /* Expression ROM */
#define GTPCI_DRAMBARBS(p) (0x0c1c | ((p) << 7)) /*DRAM BAR Bank Select*/ #define GTPCI_DRAMBARBS(p) (0x0c1c | ((p) << 7)) /*DRAM BAR Bank Select*/
#define GTPCI_ADC(p) (0x0d3c | ((p) << 7)) /* Addr Decode Ctrl */ #define GTPCI_ADC(p) (0x0d3c | ((p) << 7)) /* Addr Decode Ctrl */
#define GTPCI_ADC_REMAPWRDIS (1 << 0) #define GTPCI_ADC_REMAPWRDIS (1 << 0)

View File

@ -1,4 +1,4 @@
/* $NetBSD: mvpexreg.h,v 1.2 2015/08/08 14:35:06 kiyohara Exp $ */ /* $NetBSD: mvpexreg.h,v 1.3 2019/12/27 09:32:10 msaitoh Exp $ */
/* /*
* Copyright (c) 2008, 2009 KIYOHARA Takashi * Copyright (c) 2008, 2009 KIYOHARA Takashi
* All rights reserved. * All rights reserved.
@ -41,7 +41,7 @@
#define MVPEX_BARC_BAREN (1 << 0) #define MVPEX_BARC_BAREN (1 << 0)
#define MVPEX_BARC_BARSIZE_MASK 0xffff0000 #define MVPEX_BARC_BARSIZE_MASK 0xffff0000
#define MVPEX_BARC_BARSIZE(s) (((s) - 1) & MVPEX_BARC_BARSIZE_MASK) #define MVPEX_BARC_BARSIZE(s) (((s) - 1) & MVPEX_BARC_BARSIZE_MASK)
#define MVPEX_ERBARC 0x180c /* Expresion ROM BAR Control */ #define MVPEX_ERBARC 0x180c /* Expression ROM BAR Control */
#define MVPEX_ERBARC_EXPROMEN (1 << 0) #define MVPEX_ERBARC_EXPROMEN (1 << 0)
#define MVPEX_ERBARC_EXPROMSZ_05M (0 << 19) #define MVPEX_ERBARC_EXPROMSZ_05M (0 << 19)
#define MVPEX_ERBARC_EXPROMSZ_1M (1 << 19) #define MVPEX_ERBARC_EXPROMSZ_1M (1 << 19)
@ -87,8 +87,8 @@
#define MVPEX_WR_REMAP_REMAPEN (1 << 0) #define MVPEX_WR_REMAP_REMAPEN (1 << 0)
#define MVPEX_WR_REMAP(a) ((a) & 0xffff0000) #define MVPEX_WR_REMAP(a) ((a) & 0xffff0000)
#define MVPEX_DWC 0x18b0 /* Default Window Control */ #define MVPEX_DWC 0x18b0 /* Default Window Control */
#define MVPEX_EROMWC 0x18c0 /* Expresion ROM Win Control */ #define MVPEX_EROMWC 0x18c0 /* Expression ROM Win Control */
#define MVPEX_EROMWR 0x18c4 /* Expresion ROM Win Remap */ #define MVPEX_EROMWR 0x18c4 /* Expression ROM Win Remap */
/* PCI Express Control and Status Registers */ /* PCI Express Control and Status Registers */
#define MVPEX_CTRL 0x1a00 /* Control */ #define MVPEX_CTRL 0x1a00 /* Control */
#define MVPEX_CTRL_CONFROOTCOMPLEX (1 << 1) #define MVPEX_CTRL_CONFROOTCOMPLEX (1 << 1)

View File

@ -1,4 +1,4 @@
/* $NetBSD: regexp.c,v 1.13 2014/07/15 13:17:15 christos Exp $ */ /* $NetBSD: regexp.c,v 1.14 2019/12/27 09:32:10 msaitoh Exp $ */
/* /*
* Copyright (c) 1980, 1993 * Copyright (c) 1980, 1993
@ -44,7 +44,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\
#if 0 #if 0
static char sccsid[] = "@(#)regexp.c 8.1 (Berkeley) 6/6/93"; static char sccsid[] = "@(#)regexp.c 8.1 (Berkeley) 6/6/93";
#endif #endif
__RCSID("$NetBSD: regexp.c,v 1.13 2014/07/15 13:17:15 christos Exp $"); __RCSID("$NetBSD: regexp.c,v 1.14 2019/12/27 09:32:10 msaitoh Exp $");
#endif /* not lint */ #endif /* not lint */
#include <assert.h> #include <assert.h>
@ -330,7 +330,7 @@ expconv(void)
/* /*
* The following routine recognises an irregular expresion * The following routine recognises an irregular expression
* with the following special characters: * with the following special characters:
* *
* \? - means last match was optional * \? - means last match was optional