Date: Sun, 8 Aug 2021 08:17:51 GMT From: Gordon Bergling <gbe@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 04389c855e56 - main - Fix some common typos in comments Message-ID: <202108080817.1788Hpid087544@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=04389c855e56d1715637fa43575ec13455a68b2e commit 04389c855e56d1715637fa43575ec13455a68b2e Author: Gordon Bergling <gbe@FreeBSD.org> AuthorDate: 2021-08-08 08:16:06 +0000 Commit: Gordon Bergling <gbe@FreeBSD.org> CommitDate: 2021-08-08 08:16:06 +0000 Fix some common typos in comments - s/configuraiton/configuration/ - s/specifed/specified/ - s/compatiblity/compatibility/ MFC after: 5 days --- sys/cam/scsi/scsi_enc_ses.c | 2 +- sys/dev/aic7xxx/aic7xxx.reg | 2 +- sys/dev/gpio/gpio_if.m | 6 +++--- sys/dev/gpio/gpiobus_if.m | 6 +++--- sys/dev/hpt27xx/hptintf.h | 2 +- sys/dev/hwpmc/hwpmc_amd.c | 2 +- sys/dev/mlx5/mlx5_en/mlx5_en_port_buffer.c | 2 +- sys/dev/qlnx/qlnxe/ecore_sriov.h | 2 +- sys/dev/sound/fdt/audio_soc.c | 2 +- sys/netinet/in_fib.c | 2 +- sys/netinet6/in6_pcb.c | 2 +- sys/sys/user.h | 2 +- usr.bin/quota/quota.c | 4 ++-- usr.sbin/lpr/lpc/cmds.c | 2 +- 14 files changed, 19 insertions(+), 19 deletions(-) diff --git a/sys/cam/scsi/scsi_enc_ses.c b/sys/cam/scsi/scsi_enc_ses.c index 32e523923fd2..f4f1c4a23516 100644 --- a/sys/cam/scsi/scsi_enc_ses.c +++ b/sys/cam/scsi/scsi_enc_ses.c @@ -418,7 +418,7 @@ ses_iter_init(enc_softc_t *enc, enc_cache_t *cache, struct ses_iterator *iter) /** * \brief Traverse the provided SES iterator to the next element - * within the configuraiton. + * within the configuration. * * \param iter The iterator to move. * diff --git a/sys/dev/aic7xxx/aic7xxx.reg b/sys/dev/aic7xxx/aic7xxx.reg index 7a15b5613163..a9253aa94b6e 100644 --- a/sys/dev/aic7xxx/aic7xxx.reg +++ b/sys/dev/aic7xxx/aic7xxx.reg @@ -1510,7 +1510,7 @@ scratch_ram { size 6 /* * These are reserved registers in the card's scratch ram on the 2742. - * The EISA configuraiton chip is mapped here. On Rev E. of the + * The EISA configuration chip is mapped here. On Rev E. of the * aic7770, the sequencer can use this area for scratch, but the * host cannot directly access these registers. On later chips, this * area can be read and written by both the host and the sequencer. diff --git a/sys/dev/gpio/gpio_if.m b/sys/dev/gpio/gpio_if.m index 70838cd1042b..4a97f532b1e2 100644 --- a/sys/dev/gpio/gpio_if.m +++ b/sys/dev/gpio/gpio_if.m @@ -85,7 +85,7 @@ METHOD int pin_max { }; # -# Set value of pin specifed by pin_num +# Set value of pin specified by pin_num # METHOD int pin_set { device_t dev; @@ -94,7 +94,7 @@ METHOD int pin_set { }; # -# Get value of pin specifed by pin_num +# Get value of pin specified by pin_num # METHOD int pin_get { device_t dev; @@ -103,7 +103,7 @@ METHOD int pin_get { }; # -# Toggle value of pin specifed by pin_num +# Toggle value of pin specified by pin_num # METHOD int pin_toggle { device_t dev; diff --git a/sys/dev/gpio/gpiobus_if.m b/sys/dev/gpio/gpiobus_if.m index ee926d5b96f0..63324645a4de 100644 --- a/sys/dev/gpio/gpiobus_if.m +++ b/sys/dev/gpio/gpiobus_if.m @@ -49,7 +49,7 @@ METHOD void release_bus { }; # -# Set value of pin specifed by pin_num +# Set value of pin specified by pin_num # METHOD int pin_set { device_t dev; @@ -59,7 +59,7 @@ METHOD int pin_set { }; # -# Get value of pin specifed by pin_num +# Get value of pin specified by pin_num # METHOD int pin_get { device_t dev; @@ -69,7 +69,7 @@ METHOD int pin_get { }; # -# Toggle value of pin specifed by pin_num +# Toggle value of pin specified by pin_num # METHOD int pin_toggle { device_t dev; diff --git a/sys/dev/hpt27xx/hptintf.h b/sys/dev/hpt27xx/hptintf.h index ce768b846fba..7a988ccc566f 100644 --- a/sys/dev/hpt27xx/hptintf.h +++ b/sys/dev/hpt27xx/hptintf.h @@ -132,7 +132,7 @@ typedef HPT_U32 DEVICEID; #define MAX_ARRAY_MEMBERS_V3 64 #endif -/* keep definition for source code compatiblity */ +/* keep definition for source code compatibility */ #define MAX_ARRAY_MEMBERS MAX_ARRAY_MEMBERS_V1 /* diff --git a/sys/dev/hwpmc/hwpmc_amd.c b/sys/dev/hwpmc/hwpmc_amd.c index a95615926bc3..024024ece19b 100644 --- a/sys/dev/hwpmc/hwpmc_amd.c +++ b/sys/dev/hwpmc/hwpmc_amd.c @@ -771,7 +771,7 @@ amd_stop_pmc(int cpu, int ri) /* * Due to NMI latency on newer AMD processors * NMI interrupts are ignored, which leads to - * panic or messages based on kernel configuraiton + * panic or messages based on kernel configuration */ /* Wait for the count to be reset */ diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_port_buffer.c b/sys/dev/mlx5/mlx5_en/mlx5_en_port_buffer.c index f453b4759e27..6a623f4c9cad 100644 --- a/sys/dev/mlx5/mlx5_en/mlx5_en_port_buffer.c +++ b/sys/dev/mlx5/mlx5_en/mlx5_en_port_buffer.c @@ -178,7 +178,7 @@ static int update_xoff_threshold(struct mlx5e_priv *priv, * port_buffer: <output> port receive buffer configuration * change: <output> * - * Update buffer configuration based on pfc configuraiton and priority + * Update buffer configuration based on pfc configuration and priority * to buffer mapping. * Buffer's lossy bit is changed to: * lossless if there is at least one PFC enabled priority mapped to this buffer diff --git a/sys/dev/qlnx/qlnxe/ecore_sriov.h b/sys/dev/qlnx/qlnxe/ecore_sriov.h index 57097df30948..84d954404e13 100644 --- a/sys/dev/qlnx/qlnxe/ecore_sriov.h +++ b/sys/dev/qlnx/qlnxe/ecore_sriov.h @@ -222,7 +222,7 @@ struct ecore_pf_iov { #ifdef CONFIG_ECORE_SRIOV /** * @brief Read sriov related information and allocated resources - * reads from configuraiton space, shmem, etc. + * reads from configuration space, shmem, etc. * * @param p_hwfn * diff --git a/sys/dev/sound/fdt/audio_soc.c b/sys/dev/sound/fdt/audio_soc.c index cd5807d955c9..eeb55d85420e 100644 --- a/sys/dev/sound/fdt/audio_soc.c +++ b/sys/dev/sound/fdt/audio_soc.c @@ -61,7 +61,7 @@ struct audio_soc_channel { struct audio_soc_softc { /* * pcm_register assumes that sc is snddev_info, - * so this has to be first structure member for "compatiblity" + * so this has to be first structure member for "compatibility" */ struct snddev_info info; device_t dev; diff --git a/sys/netinet/in_fib.c b/sys/netinet/in_fib.c index 8a6e64876b3d..3e09be7dc6e2 100644 --- a/sys/netinet/in_fib.c +++ b/sys/netinet/in_fib.c @@ -60,7 +60,7 @@ __FBSDID("$FreeBSD$"); #ifdef INET -/* Verify struct route compatiblity */ +/* Verify struct route compatibility */ /* Assert 'struct route_in' is compatible with 'struct route' */ CHK_STRUCT_ROUTE_COMPAT(struct route_in, ro_dst4); diff --git a/sys/netinet6/in6_pcb.c b/sys/netinet6/in6_pcb.c index 9572efaf5e1d..14b95dfe0254 100644 --- a/sys/netinet6/in6_pcb.c +++ b/sys/netinet6/in6_pcb.c @@ -699,7 +699,7 @@ in6_pcbnotify(struct inpcbinfo *pcbinfo, struct sockaddr *dst, /* * Detect if we should notify the error. If no source and - * destination ports are specifed, but non-zero flowinfo and + * destination ports are specified, but non-zero flowinfo and * local address match, notify the error. This is the case * when the error is delivered with an encrypted buffer * by ESP. Otherwise, just compare addresses and ports diff --git a/sys/sys/user.h b/sys/sys/user.h index 14471c91572f..e8bfba981e83 100644 --- a/sys/sys/user.h +++ b/sys/sys/user.h @@ -349,7 +349,7 @@ struct kinfo_file { int64_t kf_offset; /* Seek location. */ union { struct { - /* API compatiblity with FreeBSD < 12. */ + /* API compatibility with FreeBSD < 12. */ int kf_vnode_type; int kf_sock_domain; int kf_sock_type; diff --git a/usr.bin/quota/quota.c b/usr.bin/quota/quota.c index 71e63208884f..7dceb67b23e8 100644 --- a/usr.bin/quota/quota.c +++ b/usr.bin/quota/quota.c @@ -215,7 +215,7 @@ showuid(u_long uid) } /* - * Print out quotas for a specifed user name. + * Print out quotas for a specified user name. */ static int showusrname(char *name) @@ -246,7 +246,7 @@ showgid(u_long gid) } /* - * Print out quotas for a specifed group name. + * Print out quotas for a specified group name. */ static int showgrpname(char *name) diff --git a/usr.sbin/lpr/lpc/cmds.c b/usr.sbin/lpr/lpc/cmds.c index 0fb2e676f6a7..c0debb1fcbcd 100644 --- a/usr.sbin/lpr/lpc/cmds.c +++ b/usr.sbin/lpr/lpc/cmds.c @@ -94,7 +94,7 @@ static void wrapup_clean(int _laststatus); */ enum qsel_val { /* how a given ptr was selected */ QSEL_UNKNOWN = -1, /* ... not selected yet */ - QSEL_BYNAME = 0, /* ... user specifed it by name */ + QSEL_BYNAME = 0, /* ... user specified it by name */ QSEL_ALL = 1 /* ... user wants "all" printers */ /* (with more to come) */ };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108080817.1788Hpid087544>