Module Name: src
Committed By: andvar
Date: Sun Jan 5 22:11:18 UTC 2025
Modified Files:
src/sbin/newfs_ext2fs: mke2fs.c
src/sys/arch/m68k/m68k: cpu_in_cksum.c
src/sys/dev/acpi: apei_hest.c
src/sys/dev/ic: pcf8584reg.h
src/sys/fs/udf: udf_allocation.c
Log Message:
fix various typos in comments.
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sbin/newfs_ext2fs/mke2fs.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/m68k/m68k/cpu_in_cksum.c
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/acpi/apei_hest.c
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/ic/pcf8584reg.h
cvs rdiff -u -r1.47 -r1.48 src/sys/fs/udf/udf_allocation.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/newfs_ext2fs/mke2fs.c
diff -u src/sbin/newfs_ext2fs/mke2fs.c:1.27 src/sbin/newfs_ext2fs/mke2fs.c:1.28
--- src/sbin/newfs_ext2fs/mke2fs.c:1.27 Thu Feb 22 14:11:52 2024
+++ src/sbin/newfs_ext2fs/mke2fs.c Sun Jan 5 22:11:18 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: mke2fs.c,v 1.27 2024/02/22 14:11:52 tsutsui Exp $ */
+/* $NetBSD: mke2fs.c,v 1.28 2025/01/05 22:11:18 andvar Exp $ */
/*-
* Copyright (c) 2007 Izumi Tsutsui. All rights reserved.
@@ -100,7 +100,7 @@
#if 0
static char sccsid[] = "@(#)mkfs.c 8.11 (Berkeley) 5/3/95";
#else
-__RCSID("$NetBSD: mke2fs.c,v 1.27 2024/02/22 14:11:52 tsutsui Exp $");
+__RCSID("$NetBSD: mke2fs.c,v 1.28 2025/01/05 22:11:18 andvar Exp $");
#endif
#endif /* not lint */
@@ -580,8 +580,8 @@ mke2fs(const char *fsys, int fi, int fo)
zap_old_sblock(pblock * pbsize[i]);
}
/*
- * Also zap possbile FFS magic leftover to prevent
- * kernel vfs_mountroot() and bootloadres from mis-recognizing
+ * Also zap possible FFS magic leftover to prevent
+ * kernel vfs_mountroot() and bootloaders from mis-recognizing
* this file system as FFS.
*/
zap_old_sblock(8192); /* SBLOCK_UFS1 */
Index: src/sys/arch/m68k/m68k/cpu_in_cksum.c
diff -u src/sys/arch/m68k/m68k/cpu_in_cksum.c:1.1 src/sys/arch/m68k/m68k/cpu_in_cksum.c:1.2
--- src/sys/arch/m68k/m68k/cpu_in_cksum.c:1.1 Sun Sep 19 01:35:43 2010
+++ src/sys/arch/m68k/m68k/cpu_in_cksum.c Sun Jan 5 22:11:17 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu_in_cksum.c,v 1.1 2010/09/19 01:35:43 tsutsui Exp $ */
+/* $NetBSD: cpu_in_cksum.c,v 1.2 2025/01/05 22:11:17 andvar Exp $ */
/*-
* Copyright (c) 2008 Joerg Sonnenberger <[email protected]>.
* All rights reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu_in_cksum.c,v 1.1 2010/09/19 01:35:43 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu_in_cksum.c,v 1.2 2025/01/05 22:11:17 andvar Exp $");
#include <sys/param.h>
#include <sys/mbuf.h>
@@ -102,7 +102,7 @@ cpu_in_cksum(struct mbuf *m, int len, in
}
needs_swap = started_on_odd;
- /* A possbile trailing odd byte is handled in oc_cksum() */
+ /* A possible trailing odd byte is handled in oc_cksum() */
if (mlen & 1)
started_on_odd = !started_on_odd;
/* 16 bit word alignment is enough on m68k */
Index: src/sys/dev/acpi/apei_hest.c
diff -u src/sys/dev/acpi/apei_hest.c:1.6 src/sys/dev/acpi/apei_hest.c:1.7
--- src/sys/dev/acpi/apei_hest.c:1.6 Sun Oct 27 12:13:07 2024
+++ src/sys/dev/acpi/apei_hest.c Sun Jan 5 22:11:18 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: apei_hest.c,v 1.6 2024/10/27 12:13:07 riastradh Exp $ */
+/* $NetBSD: apei_hest.c,v 1.7 2025/01/05 22:11:18 andvar Exp $ */
/*-
* Copyright (c) 2024 The NetBSD Foundation, Inc.
@@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: apei_hest.c,v 1.6 2024/10/27 12:13:07 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: apei_hest.c,v 1.7 2025/01/05 22:11:18 andvar Exp $");
#include <sys/types.h>
@@ -369,7 +369,7 @@ apei_hest_attach_ghes(struct apei_softc
}
/*
- * Read the GHES Error Status Addresss. This is the physical
+ * Read the GHES Error Status Address. This is the physical
* address of a GESB, Generic Error Status Block. Why the
* physical address is exposed via this indirection, and not
* simply stored directly in the GHES, is unclear to me.
@@ -542,7 +542,7 @@ apei_hest_attach_ghes_v2(struct apei_sof
}
/*
- * Read the GHESv2 Error Status Addresss. This is the physical
+ * Read the GHESv2 Error Status Address. This is the physical
* address of a GESB, Generic Error Status Block. Why the
* physical address is exposed via this indirection, and not
* simply stored directly in the GHESv2, is unclear to me.
Index: src/sys/dev/ic/pcf8584reg.h
diff -u src/sys/dev/ic/pcf8584reg.h:1.2 src/sys/dev/ic/pcf8584reg.h:1.3
--- src/sys/dev/ic/pcf8584reg.h:1.2 Sun Jan 3 17:32:17 2016
+++ src/sys/dev/ic/pcf8584reg.h Sun Jan 5 22:11:18 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: pcf8584reg.h,v 1.2 2016/01/03 17:32:17 jdc Exp $ */
+/* $NetBSD: pcf8584reg.h,v 1.3 2025/01/05 22:11:18 andvar Exp $ */
/* Written by Tobias Nygren. Released into the public domain. */
@@ -28,7 +28,7 @@
/* Status register bits (read only) */
#define PCF8584_STATUS_BBN (1<<0) /* Bus Busy Not */
#define PCF8584_STATUS_LAB (1<<1) /* Lost Arbitration */
-#define PCF8584_STATUS_AAS (1<<2) /* Adressed As Slave */
+#define PCF8584_STATUS_AAS (1<<2) /* Addressed As Slave */
#define PCF8584_STATUS_LRB (1<<3) /* Last Received Bit (NAK+bcast det.) */
#define PCF8584_STATUS_BER (1<<4) /* Bus error */
#define PCF8584_STATUS_STS (1<<5) /* external STOP condition detected */
Index: src/sys/fs/udf/udf_allocation.c
diff -u src/sys/fs/udf/udf_allocation.c:1.47 src/sys/fs/udf/udf_allocation.c:1.48
--- src/sys/fs/udf/udf_allocation.c:1.47 Sun May 22 11:27:36 2022
+++ src/sys/fs/udf/udf_allocation.c Sun Jan 5 22:11:18 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_allocation.c,v 1.47 2022/05/22 11:27:36 andvar Exp $ */
+/* $NetBSD: udf_allocation.c,v 1.48 2025/01/05 22:11:18 andvar Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_allocation.c,v 1.47 2022/05/22 11:27:36 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_allocation.c,v 1.48 2025/01/05 22:11:18 andvar Exp $");
#endif /* not lint */
@@ -1998,7 +1998,7 @@ udf_append_adslot(struct udf_node *udf_n
}
flags = UDF_EXT_FLAGS(udf_rw32(l_icb.len));
if (flags != UDF_EXT_REDIRECT) {
- /* only one past the last one is adressable */
+ /* only one past the last one is addressable */
break;
}