summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authormsaitoh <msaitoh@NetBSD.org>2019-07-11 03:49:51 +0000
committermsaitoh <msaitoh@NetBSD.org>2019-07-11 03:49:51 +0000
commite55a04640f5850d6113a4f32070790f84973f391 (patch)
treed2898c6916a58e7846771410f67abe5368e2d382 /sys/dev/raidframe
parent21d1ffa40deaae456df581560e74a605e818107f (diff)
Fix typo (s/supress/suppress/).
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_dagflags.h6
-rw-r--r--sys/dev/raidframe/rf_stripelocks.c8
2 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/raidframe/rf_dagflags.h b/sys/dev/raidframe/rf_dagflags.h
index 777037e7d86..c8bebc55fb4 100644
--- a/sys/dev/raidframe/rf_dagflags.h
+++ b/sys/dev/raidframe/rf_dagflags.h
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_dagflags.h,v 1.5 2005/12/11 12:23:37 christos Exp $ */
+/* $NetBSD: rf_dagflags.h,v 1.6 2019/07/11 03:49:51 msaitoh Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -43,12 +43,12 @@
* by DoAccess, SelectAlgorithm, and the DAG creation routines.
*
* If USE_DAG or USE_ASM is specified, neither the DAG nor the ASM
- * will be modified, which means that you can't SUPRESS if you
+ * will be modified, which means that you can't SUPPRESS if you
* specify USE_DAG.
*/
#define RF_DAG_FLAGS_NONE 0 /* no flags */
-#define RF_DAG_SUPPRESS_LOCKS (1<<0) /* supress all stripe locks in
+#define RF_DAG_SUPPRESS_LOCKS (1<<0) /* suppress all stripe locks in
* the DAG */
#define RF_DAG_NONBLOCKING_IO (1<<3) /* cause DoAccess to be
* non-blocking */
diff --git a/sys/dev/raidframe/rf_stripelocks.c b/sys/dev/raidframe/rf_stripelocks.c
index 8b77de9cba2..e7c88c90078 100644
--- a/sys/dev/raidframe/rf_stripelocks.c
+++ b/sys/dev/raidframe/rf_stripelocks.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_stripelocks.c,v 1.33 2019/02/09 03:34:00 christos Exp $ */
+/* $NetBSD: rf_stripelocks.c,v 1.34 2019/07/11 03:49:51 msaitoh Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -57,7 +57,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_stripelocks.c,v 1.33 2019/02/09 03:34:00 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_stripelocks.c,v 1.34 2019/07/11 03:49:51 msaitoh Exp $");
#include <dev/raidframe/raidframevar.h>
@@ -262,7 +262,7 @@ rf_AcquireStripeLock(RF_LockTableEntry_t *lockTable, RF_StripeNum_t stripeID,
#if RF_DEBUG_STRIPELOCK
if (rf_stripeLockDebug) {
if (stripeID == -1) {
- Dprintf1("[%d] Lock acquisition supressed (stripeID == -1)\n", tid);
+ Dprintf1("[%d] Lock acquisition suppressed (stripeID == -1)\n", tid);
} else {
Dprintf8("[%d] Trying to acquire stripe lock table 0x%lx SID %ld type %c range %ld-%ld, range2 %ld-%ld hashval %d\n",
tid, (unsigned long) lockTable, stripeID, lockReqDesc->type, lockReqDesc->start,
@@ -385,7 +385,7 @@ rf_ReleaseStripeLock(RF_LockTableEntry_t *lockTable, RF_StripeNum_t stripeID,
#if RF_DEBUG_STRIPELOCK
if (rf_stripeLockDebug) {
if (stripeID == -1) {
- Dprintf1("[%d] Lock release supressed (stripeID == -1)\n", tid);
+ Dprintf1("[%d] Lock release suppressed (stripeID == -1)\n", tid);
} else {
Dprintf8("[%d] Releasing stripe lock on stripe ID %ld, type %c range %ld-%ld %ld-%ld table 0x%lx\n",
tid, stripeID, lockReqDesc->type, lockReqDesc->start, lockReqDesc->stop, lockReqDesc->start2, lockReqDesc->stop2, lockTable);