git: 9c291363b270 - stable/13 - mlx4en(4): Fix two in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Apr 2022 06:15:07 UTC
The branch stable/13 has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=9c291363b2702795038c356fcc91f73cdcf92b0b
commit 9c291363b2702795038c356fcc91f73cdcf92b0b
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-04-02 11:33:05 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-04-09 06:13:30 +0000
mlx4en(4): Fix two in source code comments
- s/differnt/different/
- s/differntly/differently/
(cherry picked from commit 6039e38f93819050ef7627f16554c97830b98a32)
---
sys/dev/mlx4/mlx4_core/fw_qos.h | 2 +-
sys/dev/mlx4/mlx4_core/mlx4_cmd.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/dev/mlx4/mlx4_core/fw_qos.h b/sys/dev/mlx4/mlx4_core/fw_qos.h
index fc91926df110..1d4870d13875 100644
--- a/sys/dev/mlx4/mlx4_core/fw_qos.h
+++ b/sys/dev/mlx4/mlx4_core/fw_qos.h
@@ -98,7 +98,7 @@ int mlx4_SET_PORT_SCHEDULER(struct mlx4_dev *dev, u8 port, u8 *tc_tx_bw,
int mlx4_ALLOCATE_VPP_get(struct mlx4_dev *dev, u8 port,
u16 *availible_vpp, u8 *vpp_p_up);
/**
- * mlx4_ALLOCATE_VPP_set - Distribution of VPPs among differnt priorities.
+ * mlx4_ALLOCATE_VPP_set - Distribution of VPPs among different priorities.
* The total number of VPPs assigned to all for a port must not exceed
* the value reported by availible_vpp in mlx4_ALLOCATE_VPP_get.
* VPP allocation is allowed only after the port type has been set,
diff --git a/sys/dev/mlx4/mlx4_core/mlx4_cmd.c b/sys/dev/mlx4/mlx4_core/mlx4_cmd.c
index 39a4064e3ff4..502fe5ca76f6 100644
--- a/sys/dev/mlx4/mlx4_core/mlx4_cmd.c
+++ b/sys/dev/mlx4/mlx4_core/mlx4_cmd.c
@@ -2950,7 +2950,7 @@ static bool mlx4_valid_vf_state_change(struct mlx4_dev *dev, int port,
dummy_admin.default_vlan = vlan;
/* VF wants to move to other VST state which is valid with current
- * rate limit. Either differnt default vlan in VST or other
+ * rate limit. Either different default vlan in VST or other
* supported QoS priority. Otherwise we don't allow this change when
* the TX rate is still configured.
*/