git: f4dc553a72d7 - stable/13 - 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:35:51 UTC
The branch stable/13 has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=f4dc553a72d7b117b79d2e18980c486706beb65f
commit f4dc553a72d7b117b79d2e18980c486706beb65f
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:35:02 +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 424d7f66b056..f552b1b653a6 100644
--- a/sys/dev/mlx5/mlx5_en/en.h
+++ b/sys/dev/mlx5/mlx5_en/en.h
@@ -754,7 +754,7 @@ struct mlx5e_rq_mbuf {
};
struct mlx5e_rq {
- /* persistant fields */
+ /* persistent fields */
struct mtx mtx;
struct mlx5e_rq_stats stats;
struct callout watchdog;
@@ -841,7 +841,7 @@ enum {
};
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 1bbd7f75b1db..84fa8cd96301 100644
--- a/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
+++ b/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
@@ -2245,7 +2245,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);