git: f012ca391583 - stable/12 - mlx5en(4): Fix a few typos in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 Apr 2022 13:43:40 UTC
The branch stable/12 has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=f012ca3915833306ecbb61a3681a4da5ea07ff26
commit f012ca3915833306ecbb61a3681a4da5ea07ff26
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-03-27 15:59:43 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-04-02 13:36:49 +0000
mlx5en(4): Fix a few typos in source code comments
- s/persistant/persistent/
(cherry picked from commit 4a87beeccb04430a154da19721e1c4715e9ddd31)
---
sys/dev/mlx5/mlx5_en/en.h | 4 ++--
sys/dev/mlx5/mlx5_en/mlx5_en_main.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/sys/dev/mlx5/mlx5_en/en.h b/sys/dev/mlx5/mlx5_en/en.h
index e0af780f0b74..6623e2d43d3e 100644
--- a/sys/dev/mlx5/mlx5_en/en.h
+++ b/sys/dev/mlx5/mlx5_en/en.h
@@ -747,7 +747,7 @@ struct mlx5e_rq_mbuf {
};
struct mlx5e_rq {
- /* persistant fields */
+ /* persistent fields */
struct mtx mtx;
struct mlx5e_rq_stats stats;
struct callout watchdog;
@@ -792,7 +792,7 @@ struct mlx5e_snd_tag {
};
struct mlx5e_sq {
- /* persistant fields */
+ /* persistent fields */
struct mtx lock;
struct mtx comp_lock;
struct mlx5e_sq_stats stats;
diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_main.c b/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
index 126ca1484705..0357b572ebb8 100644
--- a/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
+++ b/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
@@ -2198,7 +2198,7 @@ mlx5e_open_channel(struct mlx5e_priv *priv,
struct epoch_tracker et;
int i, err;
- /* zero non-persistant data */
+ /* zero non-persistent data */
MLX5E_ZERO(&c->rq, mlx5e_rq_zero_start);
for (i = 0; i != priv->num_tc; i++)
MLX5E_ZERO(&c->sq[i], mlx5e_sq_zero_start);