Skip to contentSkip to conversation

net/mlx5: Fix typos

PATCH In review Andrew Kreimer 3 participants 3 messages Oct 2, 2024 – Oct 3, 2024

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 net/mlx5: Fix typos

Fix typos in comments.

---
v2:
- A repost, there is no range-diff.
v1: https://lore.kernel.org/netdev/[email protected]/

 drivers/net/ethernet/mellanox/mlx5/core/irq_affinity.c | 2 +-
 drivers/net/ethernet/mellanox/mlx5/core/main.c         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/mellanox/mlx5/core/irq_affinity.c +1 -1
index 1477db7f5307..4336ac98d85d 100644
@@ -80,7 +80,7 @@ irq_pool_request_irq(struct mlx5_irq_pool *pool, struct irq_affinity_desc *af_de
  * isn't subset of req_mask, so we will skip it. irq1_mask is subset of req_mask,
  * we don't skip it.
  * If pool is sf_ctrl_pool, then all IRQs have the same mask, so any IRQ will
- * fit. And since mask is subset of itself, we will pass the first if bellow.
+ * fit. And since mask is subset of itself, we will pass the first if below.
  */
 static struct mlx5_irq *
 irq_pool_find_least_loaded(struct mlx5_irq_pool *pool, const struct cpumask *req_mask)
drivers/net/ethernet/mellanox/mlx5/core/main.c +1 -1
index 220a9ac75c8b..82911ea10ff8 100644
@@ -1664,7 +1664,7 @@ void mlx5_unload_one(struct mlx5_core_dev *dev, bool suspend)
 	devl_unlock(devlink);
 }
 
-/* In case of light probe, we don't need a full query of hca_caps, but only the bellow caps.
+/* In case of light probe, we don't need a full query of hca_caps, but only the below caps.
  * A full query of hca_caps will be done when the device will reload.
  */
 static int mlx5_query_hca_caps_light(struct mlx5_core_dev *dev)
Signature · 1 line
2.39.5
Reviewed-by on v2 1/1
#1 lore raw
Quoted 31 lines · Andrew Kreimer

Fix typos in comments.

---
v2:
- A repost, there is no range-diff.
v1: https://lore.kernel.org/netdev/[email protected]/

  drivers/net/ethernet/mellanox/mlx5/core/irq_affinity.c | 2 +-
  drivers/net/ethernet/mellanox/mlx5/core/main.c         | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/mellanox/mlx5/core/irq_affinity.c +1 -1
index 1477db7f5307..4336ac98d85d 100644
@@ -80,7 +80,7 @@ irq_pool_request_irq(struct mlx5_irq_pool *pool, struct irq_affinity_desc *af_de
   * isn't subset of req_mask, so we will skip it. irq1_mask is subset of req_mask,
   * we don't skip it.
   * If pool is sf_ctrl_pool, then all IRQs have the same mask, so any IRQ will
- * fit. And since mask is subset of itself, we will pass the first if bellow.
+ * fit. And since mask is subset of itself, we will pass the first if below.
   */
  static struct mlx5_irq *
  irq_pool_find_least_loaded(struct mlx5_irq_pool *pool, const struct cpumask *req_mask)
drivers/net/ethernet/mellanox/mlx5/core/main.c +0 -0
index 220a9ac75c8b..82911ea10ff8 100644

drivers/net/ethernet/mellanox/mlx5/core/main.c void mlx5_unload_one(struct mlx5_core_dev *dev, bool suspend) · line 1670

Quoted 8 lines
drivers/net/ethernet/mellanox/mlx5/core/main.c +1 -1
@@ -1664,7 +1664,7 @@ void mlx5_unload_one(struct mlx5_core_dev *dev, bool suspend)
  	devl_unlock(devlink);
  }
 
-/* In case of light probe, we don't need a full query of hca_caps, but only the bellow caps.
+/* In case of light probe, we don't need a full query of hca_caps, but only the below caps.
   * A full query of hca_caps will be done when the device will reload.
   */
  static int mlx5_query_hca_caps_light(struct mlx5_core_dev *dev)