Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev fix few typos in comments and node description.
details: https://anonhg.NetBSD.org/src/rev/45995a8ae14f
branches: trunk
changeset: 371757:45995a8ae14f
user: andvar <andvar%NetBSD.org@localhost>
date: Thu Oct 06 19:38:54 2022 +0000
description:
fix few typos in comments and node description.
diffstat:
sys/dev/adb/adb_ktm.c | 8 ++++----
sys/dev/ic/scmd.c | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diffs (71 lines):
diff -r 8cf49316530d -r 45995a8ae14f sys/dev/adb/adb_ktm.c
--- a/sys/dev/adb/adb_ktm.c Thu Oct 06 06:59:24 2022 +0000
+++ b/sys/dev/adb/adb_ktm.c Thu Oct 06 19:38:54 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: adb_ktm.c,v 1.5 2022/04/06 17:37:31 macallan Exp $ */
+/* $NetBSD: adb_ktm.c,v 1.6 2022/10/06 19:38:54 andvar Exp $ */
/*-
* Copyright (c) 2019 Michael Lorenz
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: adb_ktm.c,v 1.5 2022/04/06 17:37:31 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: adb_ktm.c,v 1.6 2022/10/06 19:38:54 andvar Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -250,13 +250,13 @@
ret = sysctl_createv(NULL, 0, NULL, &node,
CTLFLAG_READWRITE | CTLFLAG_OWNDESC,
- CTLTYPE_INT, "left", "left button assigmnent",
+ CTLTYPE_INT, "left", "left button assignment",
sysctl_ktm_left, 1, (void *)sc, 0,
CTL_MACHDEP, me->sysctl_num, CTL_CREATE, CTL_EOL);
ret = sysctl_createv(NULL, 0, NULL, &node,
CTLFLAG_READWRITE | CTLFLAG_OWNDESC,
- CTLTYPE_INT, "right", "right button assigmnent",
+ CTLTYPE_INT, "right", "right button assignment",
sysctl_ktm_right, 1, (void *)sc, 0,
CTL_MACHDEP, me->sysctl_num, CTL_CREATE, CTL_EOL);
__USE(ret);
diff -r 8cf49316530d -r 45995a8ae14f sys/dev/ic/scmd.c
--- a/sys/dev/ic/scmd.c Thu Oct 06 06:59:24 2022 +0000
+++ b/sys/dev/ic/scmd.c Thu Oct 06 19:38:54 2022 +0000
@@ -1,5 +1,5 @@
-/* $NetBSD: scmd.c,v 1.2 2022/03/31 19:30:16 pgoyette Exp $ */
+/* $NetBSD: scmd.c,v 1.3 2022/10/06 19:38:54 andvar Exp $ */
/*
* Copyright (c) 2021 Brad Spencer <brad%anduin.eldar.org@localhost>
@@ -18,7 +18,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: scmd.c,v 1.2 2022/03/31 19:30:16 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: scmd.c,v 1.3 2022/10/06 19:38:54 andvar Exp $");
/*
* Common driver for the Sparkfun Serial motor controller.
@@ -274,7 +274,7 @@
if (sc->sc_opened)
return EBUSY;
- /* This is a meaningless assigment to keep GCC from
+ /* This is a meaningless assignment to keep GCC from
* complaining.
*/
sc->sc_func_attach = &scmd_attach;
@@ -521,7 +521,7 @@
* can perform re-enumeration, then do the wait thing.
* It is not as important that this be done for remote module
* access as the only thing that you could really do there is
- * a restart and not re-emumeration, which is really what the wait
+ * a restart and not re-enumeration, which is really what the wait
* is all about.
*/
if (reg_addr == SCMD_REG_CONTROL_1) {
Home |
Main Index |
Thread Index |
Old Index