svn commit: r357664 - in head: sys/dev/ixl sys/dev/le sys/dev/pms/RefTisa/discovery/dm sys/dev/ppbus sys/dev/puc sys/dev/usb/net sys/netinet sys/netinet/netdump sys/netinet/tcp_stacks sys/opencrypt...
Ed Maste
emaste at FreeBSD.org
Fri Feb 7 19:53:10 UTC 2020
Author: emaste
Date: Fri Feb 7 19:53:07 2020
New Revision: 357664
URL: https://svnweb.freebsd.org/changeset/base/357664
Log:
Miscellaneous typo fixes
Submitted by: Gordon Bergling <gbergling_gmail.com>
Differential Revision: https://reviews.freebsd.org/D23453
Modified:
head/sys/dev/ixl/if_iavf.c
head/sys/dev/le/lancevar.h
head/sys/dev/pms/RefTisa/discovery/dm/dmdisc.c
head/sys/dev/ppbus/lpt.c
head/sys/dev/puc/pucdata.c
head/sys/dev/usb/net/if_axe.c
head/sys/netinet/netdump/netdump_client.c
head/sys/netinet/tcp_sack.c
head/sys/netinet/tcp_stacks/bbr.c
head/sys/netinet/tcp_stacks/tcp_bbr.h
head/sys/opencrypto/xform_enc.h
head/usr.bin/truss/syscalls.c
head/usr.sbin/bsdconfig/share/media/network.subr
Modified: head/sys/dev/ixl/if_iavf.c
==============================================================================
--- head/sys/dev/ixl/if_iavf.c Fri Feb 7 19:26:26 2020 (r357663)
+++ head/sys/dev/ixl/if_iavf.c Fri Feb 7 19:53:07 2020 (r357664)
@@ -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.
Modified: head/sys/dev/le/lancevar.h
==============================================================================
--- head/sys/dev/le/lancevar.h Fri Feb 7 19:26:26 2020 (r357663)
+++ head/sys/dev/le/lancevar.h Fri Feb 7 19:53:07 2020 (r357664)
@@ -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!
*/
Modified: head/sys/dev/pms/RefTisa/discovery/dm/dmdisc.c
==============================================================================
--- head/sys/dev/pms/RefTisa/discovery/dm/dmdisc.c Fri Feb 7 19:26:26 2020 (r357663)
+++ head/sys/dev/pms/RefTisa/discovery/dm/dmdisc.c Fri Feb 7 19:53:07 2020 (r357664)
@@ -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;
}
Modified: head/sys/dev/ppbus/lpt.c
==============================================================================
--- head/sys/dev/ppbus/lpt.c Fri Feb 7 19:26:26 2020 (r357663)
+++ head/sys/dev/ppbus/lpt.c Fri Feb 7 19:53:07 2020 (r357664)
@@ -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.
*
Modified: head/sys/dev/puc/pucdata.c
==============================================================================
--- head/sys/dev/puc/pucdata.c Fri Feb 7 19:26:26 2020 (r357663)
+++ head/sys/dev/puc/pucdata.c Fri Feb 7 19:53:07 2020 (r357664)
@@ -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",
Modified: head/sys/dev/usb/net/if_axe.c
==============================================================================
--- head/sys/dev/usb/net/if_axe.c Fri Feb 7 19:26:26 2020 (r357663)
+++ head/sys/dev/usb/net/if_axe.c Fri Feb 7 19:53:07 2020 (r357664)
@@ -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.)
Modified: head/sys/netinet/netdump/netdump_client.c
==============================================================================
--- head/sys/netinet/netdump/netdump_client.c Fri Feb 7 19:26:26 2020 (r357663)
+++ head/sys/netinet/netdump/netdump_client.c Fri Feb 7 19:53:07 2020 (r357664)
@@ -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)
Modified: head/sys/netinet/tcp_sack.c
==============================================================================
--- head/sys/netinet/tcp_sack.c Fri Feb 7 19:26:26 2020 (r357663)
+++ head/sys/netinet/tcp_sack.c Fri Feb 7 19:53:07 2020 (r357664)
@@ -238,7 +238,7 @@ tcp_update_dsack_list(struct tcpcb *tp, tcp_seq rcv_st
}
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];
}
Modified: head/sys/netinet/tcp_stacks/bbr.c
==============================================================================
--- head/sys/netinet/tcp_stacks/bbr.c Fri Feb 7 19:26:26 2020 (r357663)
+++ head/sys/netinet/tcp_stacks/bbr.c Fri Feb 7 19:53:07 2020 (r357664)
@@ -5856,7 +5856,7 @@ tcp_bbr_tso_size_check(struct tcp_bbr *bbr, uint32_t c
/*
* 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 timeva
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);
}
Modified: head/sys/netinet/tcp_stacks/tcp_bbr.h
==============================================================================
--- head/sys/netinet/tcp_stacks/tcp_bbr.h Fri Feb 7 19:26:26 2020 (r357663)
+++ head/sys/netinet/tcp_stacks/tcp_bbr.h Fri Feb 7 19:53:07 2020 (r357664)
@@ -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 */
Modified: head/sys/opencrypto/xform_enc.h
==============================================================================
--- head/sys/opencrypto/xform_enc.h Fri Feb 7 19:26:26 2020 (r357663)
+++ head/sys/opencrypto/xform_enc.h Fri Feb 7 19:53:07 2020 (r357664)
@@ -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;
};
Modified: head/usr.bin/truss/syscalls.c
==============================================================================
--- head/usr.bin/truss/syscalls.c Fri Feb 7 19:26:26 2020 (r357663)
+++ head/usr.bin/truss/syscalls.c Fri Feb 7 19:53:07 2020 (r357664)
@@ -908,7 +908,7 @@ print_mask_arg32(bool (*decoder)(FILE *, uint32_t, uin
* Add argument padding to subsequent system calls after Quad
* syscall arguments as needed. This used to be done by hand in the
* decoded_syscalls table which was ugly and error prone. It is
- * simpler to do the fixup of offsets at initalization time than when
+ * simpler to do the fixup of offsets at initialization time than when
* decoding arguments.
*/
static void
Modified: head/usr.sbin/bsdconfig/share/media/network.subr
==============================================================================
--- head/usr.sbin/bsdconfig/share/media/network.subr Fri Feb 7 19:26:26 2020 (r357663)
+++ head/usr.sbin/bsdconfig/share/media/network.subr Fri Feb 7 19:53:07 2020 (r357664)
@@ -51,7 +51,7 @@ NETWORK_INITIALIZED=
# initialized and returns success.
#
# The variables (from variable.subr) used to initialize the network are as
-# follows (all of which are configured either automatically or manaully):
+# follows (all of which are configured either automatically or manually):
#
# VAR_IFCONFIG + device_name (e.g., `ifconfig_em0')
# Automatically populated but can be overridden in a script. This
More information about the svn-src-head
mailing list