aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2020-02-07 19:53:07 +0000
committerEd Maste <emaste@FreeBSD.org>2020-02-07 19:53:07 +0000
commit5aa0576b330d8ecdf4506b1819c6be838a851e50 (patch)
treee2d5273e67b1d3acee448133361adbf81a7268a2 /sys
parent723180da5978dcc980d754534061238273453b45 (diff)
downloadsrc-5aa0576b330d8ecdf4506b1819c6be838a851e50.tar.gz
src-5aa0576b330d8ecdf4506b1819c6be838a851e50.zip
Miscellaneous typo fixes
Submitted by: Gordon Bergling <gbergling_gmail.com> Differential Revision: https://reviews.freebsd.org/D23453
Notes
Notes: svn path=/head/; revision=357664
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ixl/if_iavf.c2
-rw-r--r--sys/dev/le/lancevar.h2
-rw-r--r--sys/dev/pms/RefTisa/discovery/dm/dmdisc.c4
-rw-r--r--sys/dev/ppbus/lpt.c2
-rw-r--r--sys/dev/puc/pucdata.c2
-rw-r--r--sys/dev/usb/net/if_axe.c2
-rw-r--r--sys/netinet/netdump/netdump_client.c2
-rw-r--r--sys/netinet/tcp_sack.c2
-rw-r--r--sys/netinet/tcp_stacks/bbr.c4
-rw-r--r--sys/netinet/tcp_stacks/tcp_bbr.h2
-rw-r--r--sys/opencrypto/xform_enc.h2
11 files changed, 13 insertions, 13 deletions
diff --git a/sys/dev/ixl/if_iavf.c b/sys/dev/ixl/if_iavf.c
index 7ff659b78e4d..640a9807529f 100644
--- a/sys/dev/ixl/if_iavf.c
+++ b/sys/dev/ixl/if_iavf.c
@@ -705,7 +705,7 @@ iavf_if_init(if_ctx_t ctx)
}
/*
- * iavf_attach() helper function; initalizes the admin queue
+ * iavf_attach() helper function; initializes the admin queue
* and attempts to establish contact with the PF by
* retrying the initial "API version" message several times
* or until the PF responds.
diff --git a/sys/dev/le/lancevar.h b/sys/dev/le/lancevar.h
index 87804f845631..2fbbabbf1f07 100644
--- a/sys/dev/le/lancevar.h
+++ b/sys/dev/le/lancevar.h
@@ -198,7 +198,7 @@ ether_cmp(void *one, void *two)
diff |= *a++ - *b++;
#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,
* because it just makes the code longer, not faster!
*/
diff --git a/sys/dev/pms/RefTisa/discovery/dm/dmdisc.c b/sys/dev/pms/RefTisa/discovery/dm/dmdisc.c
index a792fbe1e681..9bee9722cc56 100644
--- a/sys/dev/pms/RefTisa/discovery/dm/dmdisc.c
+++ b/sys/dev/pms/RefTisa/discovery/dm/dmdisc.c
@@ -5618,7 +5618,7 @@ dmSubReportRemovals(
}
- /* this function is called at the end of discovery; reinitalizes oneDeviceData->reported */
+ /* this function is called at the end of discovery; reinitializes oneDeviceData->reported */
oneDeviceData->reported = agFALSE;
return;
}
@@ -5661,7 +5661,7 @@ dmSubReportChanges(
}
- /* this function is called at the end of discovery; reinitalizes oneDeviceData->reported */
+ /* this function is called at the end of discovery; reinitializes oneDeviceData->reported */
oneDeviceData->reported = agFALSE;
return;
}
diff --git a/sys/dev/ppbus/lpt.c b/sys/dev/ppbus/lpt.c
index df0fe573546d..30820dc8fc05 100644
--- a/sys/dev/ppbus/lpt.c
+++ b/sys/dev/ppbus/lpt.c
@@ -272,7 +272,7 @@ lpt_port_test(device_t ppbus, u_char data, u_char mask)
*
* 2) You should be able to write to and read back the same value
* to the control port lower 5 bits, the upper 3 bits are reserved
- * per the IBM PC technical reference manauls and different boards
+ * per the IBM PC technical reference manuals and different boards
* do different things with them. Do an alternating zeros, alternating
* ones, walking zero, and walking one test to check for stuck bits.
*
diff --git a/sys/dev/puc/pucdata.c b/sys/dev/puc/pucdata.c
index 3edd061ba520..d76669d7e9bf 100644
--- a/sys/dev/puc/pucdata.c
+++ b/sys/dev/puc/pucdata.c
@@ -708,7 +708,7 @@ const struct puc_cfg puc_pci_devices[] = {
* The Advantech PCI-1602 Rev. A use the first two ports of an Oxford
* Semiconductor OXuPCI954. Note these boards have a hardware bug in
* that they drive the RS-422/485 transmitters after power-on until a
- * driver initalizes the UARTs.
+ * driver initializes the UARTs.
*/
{ 0x13fe, 0x1600, 0x1602, 0x0002,
"Advantech PCI-1602 Rev. A",
diff --git a/sys/dev/usb/net/if_axe.c b/sys/dev/usb/net/if_axe.c
index b088ce32c795..800619e3ddb5 100644
--- a/sys/dev/usb/net/if_axe.c
+++ b/sys/dev/usb/net/if_axe.c
@@ -63,7 +63,7 @@ __FBSDID("$FreeBSD$");
* to send any packets.
*
* Note that this device appears to only support loading the station
- * address via autload from the EEPROM (i.e. there's no way to manaully
+ * address via autload from the EEPROM (i.e. there's no way to manually
* set it).
*
* (Adam Weinberger wanted me to name this driver if_gir.c.)
diff --git a/sys/netinet/netdump/netdump_client.c b/sys/netinet/netdump/netdump_client.c
index fccef3bb6ab3..bd420d3b385f 100644
--- a/sys/netinet/netdump/netdump_client.c
+++ b/sys/netinet/netdump/netdump_client.c
@@ -277,7 +277,7 @@ netdump_dumper(void *priv __unused, void *virtual,
}
/*
- * Perform any initalization needed prior to transmitting the kernel core.
+ * Perform any initialization needed prior to transmitting the kernel core.
*/
static int
netdump_start(struct dumperinfo *di)
diff --git a/sys/netinet/tcp_sack.c b/sys/netinet/tcp_sack.c
index 89345bb70cf0..80c014f6fa3d 100644
--- a/sys/netinet/tcp_sack.c
+++ b/sys/netinet/tcp_sack.c
@@ -238,7 +238,7 @@ tcp_update_dsack_list(struct tcpcb *tp, tcp_seq rcv_start, tcp_seq rcv_end)
}
j = 0;
for (i = 0; i < n; i++) {
- /* we can end up with a stale inital entry */
+ /* we can end up with a stale initial entry */
if (SEQ_LT(saved_blks[i].start, saved_blks[i].end)) {
tp->sackblks[j++] = saved_blks[i];
}
diff --git a/sys/netinet/tcp_stacks/bbr.c b/sys/netinet/tcp_stacks/bbr.c
index 97a50e280e0c..76ecf5aebaba 100644
--- a/sys/netinet/tcp_stacks/bbr.c
+++ b/sys/netinet/tcp_stacks/bbr.c
@@ -5856,7 +5856,7 @@ tcp_bbr_tso_size_check(struct tcp_bbr *bbr, uint32_t cts)
/*
* Not enough data has been acknowledged to make a
* judgement unless we are hardware TLS. Set up
- * the inital TSO based on if we are sending a
+ * the initial TSO based on if we are sending a
* full IW at once or not.
*/
if (bbr->rc_use_google)
@@ -12361,7 +12361,7 @@ bbr_output_wtime(struct tcpcb *tp, const struct timeval *tv)
if (IS_FASTOPEN(tp->t_flags) &&
((tp->t_state == TCPS_SYN_RECEIVED) ||
(tp->t_state == TCPS_SYN_SENT)) &&
- SEQ_GT(tp->snd_max, tp->snd_una) && /* inital SYN or SYN|ACK sent */
+ SEQ_GT(tp->snd_max, tp->snd_una) && /* initial SYN or SYN|ACK sent */
(tp->t_rxtshift == 0)) { /* not a retransmit */
return (0);
}
diff --git a/sys/netinet/tcp_stacks/tcp_bbr.h b/sys/netinet/tcp_stacks/tcp_bbr.h
index 98fcb69f9684..8667355e1488 100644
--- a/sys/netinet/tcp_stacks/tcp_bbr.h
+++ b/sys/netinet/tcp_stacks/tcp_bbr.h
@@ -598,7 +598,7 @@ struct bbr_control {
uint32_t rc_reorder_ts; /* Last time we saw reordering Lock(a) */
uint32_t rc_init_rwnd; /* Initial rwnd when we transitioned */
/*- ---
- * used only inital and close
+ * used only initial and close
*/
uint32_t rc_high_rwnd; /* Highest rwnd seen */
uint32_t rc_lowest_rtt; /* Smallest RTT we have seen */
diff --git a/sys/opencrypto/xform_enc.h b/sys/opencrypto/xform_enc.h
index e2b87f5cb1cf..3849dd5d95a4 100644
--- a/sys/opencrypto/xform_enc.h
+++ b/sys/opencrypto/xform_enc.h
@@ -88,7 +88,7 @@ extern struct enc_xform enc_xform_ccm;
struct aes_icm_ctx {
u_int32_t ac_ek[4*(RIJNDAEL_MAXNR + 1)];
- /* ac_block is initalized to IV */
+ /* ac_block is initialized to IV */
u_int8_t ac_block[AESICM_BLOCKSIZE];
int ac_nr;
};