[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/9] device: Fix typos in comments (found by codespell)
From: |
Stefan Weil |
Subject: |
[PATCH 3/9] device: Fix typos in comments (found by codespell) |
Date: |
Fri, 2 Jan 2015 16:02:48 +0100 |
Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
device/dev_name.c | 2 +-
device/net_io.c | 2 +-
device/tty.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/device/dev_name.c b/device/dev_name.c
index 5bf62a0..175e389 100644
--- a/device/dev_name.c
+++ b/device/dev_name.c
@@ -207,7 +207,7 @@ boolean_t dev_name_lookup(
}
*unit += (slice_num << 4);
- /* if slice==0, it is either compatability or whole device */
+ /* if slice==0, it is either compatibility or whole device */
if (c >= 'a' && c < 'a' + j) { /* note: w/o this -> whole slice */
/*
diff --git a/device/net_io.c b/device/net_io.c
index a9d318e..d2928cc 100644
--- a/device/net_io.c
+++ b/device/net_io.c
@@ -640,7 +640,7 @@ net_packet(
* Do a quick check to see if it is a kernel TTD packet.
*
* Only check if KernelTTD is enabled, ie. the current
- * device driver supports TTD, and the bootp succeded.
+ * device driver supports TTD, and the bootp succeeded.
*/
if (kttd_enabled && kttd_handle_async(kmsg)) {
/*
diff --git a/device/tty.h b/device/tty.h
index a931e33..d7aa2ad 100644
--- a/device/tty.h
+++ b/device/tty.h
@@ -184,7 +184,7 @@ extern boolean_t tty_portdeath(
#define TS_TRANSLATE 0x00100000 /* translation device enabled */
#define TS_KDB 0x00200000 /* should enter kdb on ALT */
-#define TS_MIN_TO_RCV 0x00400000 /* character recived during
+#define TS_MIN_TO_RCV 0x00400000 /* character received during
receive timeout interval */
/* flags - old names defined in terms of new ones */
--
2.1.4
- [PATCH 0/9] Fix some typos (found by codespell), Stefan Weil, 2015/01/02
- [PATCH 2/9] ddb: Fix typos in comments (found by codespell), Stefan Weil, 2015/01/02
- [PATCH 5/9] include: Fix typos in comments (found by codespell), Stefan Weil, 2015/01/02
- [PATCH 7/9] kern: Fix typos in comments (found by codespell), Stefan Weil, 2015/01/02
- [PATCH 4/9] i386: Fix typos in comments (found by codespell), Stefan Weil, 2015/01/02
- [PATCH 6/9] ipc: Fix typo in comment (found by codespell), Stefan Weil, 2015/01/02
- [PATCH 9/9] xen: Fix typos in comments (found by codespell), Stefan Weil, 2015/01/02
- [PATCH 3/9] device: Fix typos in comments (found by codespell),
Stefan Weil <=
- [PATCH 8/9] vm: Fix typo in comment (found by codespell), Stefan Weil, 2015/01/02
- [PATCH 1/9] Makefile.am: Fix typos and grammar in comment, Stefan Weil, 2015/01/02
- Re: [PATCH 0/9] Fix some typos (found by codespell), Samuel Thibault, 2015/01/02