net/mlx5: Fix spelling mistakes in mlx5_core_dbg message and comments
Subsystems (5)
PATCH 1/1 net/mlx5: Fix spelling mistakes in mlx5_core_dbg message and comments
There is a spelling mistake in a mlx5_core_dbg and two spelling mistakes in comment blocks. Fix them.
--- drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c +3 -3
@@ -148,7 +148,7 @@ int mlx5_set_msix_vec_count(struct mlx5_core_dev *dev, int function_id,* Free the IRQ and other resources such as rmap from the system. * BUT doesn't free or remove reference from mlx5. * This function is very important for the shutdown flow, where we need to -* cleanup system resoruces but keep mlx5 objects alive, +* cleanup system resources but keep mlx5 objects alive, * see mlx5_irq_table_free_irqs(). */ static void mlx5_system_free_irq (struct mlx5_irq *irq)
@@ -588,7 +588,7 @@ static void irq_pool_free(struct mlx5_irq_pool *pool)struct mlx5_irq *irq;unsigned long index; -/* There are cases in which we are destrying the irq_table before +/* There are cases in which we are destroying the irq_table before * freeing all the IRQs, fast teardown for example. Hence, free the irqs * which might not have been freed. */
@@ -617,7 +617,7 @@ static int irq_pools_init(struct mlx5_core_dev *dev, int sf_vec, int pcif_vec,if (!mlx5_sf_max_functions (dev))return 0 ;if (sf_vec <MLX5_IRQ_VEC_COMP_BASE_SF ) { -mlx5_core_dbg (dev,"Not enught IRQs for SFs. SF may run at lower performance\n" ); +mlx5_core_dbg (dev,"Not enough IRQs for SFs. SF may run at lower performance\n" );return 0 ; }
Signature · 1 line
2.49.0
Quoted 31 lines · Colin Ian King
There is a spelling mistake in a
mlx5_core_dbgand two spelling mistakes in comment blocks. Fix them.Signed-off-by Colin Ian King <[email protected]>--- drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c +2
-2@@ -148,7 +148,7 @@ int mlx5_set_msix_vec_count(struct mlx5_core_dev *dev, int function_id,* Free the IRQ and other resources such as rmap from the system. * BUT doesn't free or remove reference from mlx5. * This function is very important for the shutdown flow, where we need to -* cleanup system resoruces but keep mlx5 objects alive, +* cleanup system resources but keep mlx5 objects alive, * see mlx5_irq_table_free_irqs(). */ static void mlx5_system_free_irq (struct mlx5_irq *irq)@@ -588,7 +588,7 @@ static void irq_pool_free(struct mlx5_irq_pool *pool)struct mlx5_irq *irq;unsigned long index; -/* There are cases in which we are destrying the irq_table before +/* There are cases in which we are destroying the irq_table before * freeing all the IRQs, fast teardown for example. Hence, free the irqs * which might not have been freed. */
drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c static int irq_pools_init(struct mlx5_core_dev *dev, int sf_vec, int pcif_vec, · line 623
Quoted 8 lines
drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c +1
-1@@ -617,7 +617,7 @@ static int irq_pools_init(struct mlx5_core_dev *dev, int sf_vec, int pcif_vec,if (!mlx5_sf_max_functions (dev))return 0 ;if (sf_vec <MLX5_IRQ_VEC_COMP_BASE_SF ) { -mlx5_core_dbg (dev,"Not enught IRQs for SFs. SF may run at lower performance\n" ); +mlx5_core_dbg (dev,"Not enough IRQs for SFs. SF may run at lower performance\n" );return 0 ; }
Thanks
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 7 lines · On Fri, 18 Apr 2025 14:57:03 +0100 you wrote:
There is a spelling mistake in a
mlx5_core_dbgand two spelling mistakes in comment blocks. Fix them.Signed-off-by Colin Ian King <[email protected]>--- drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Here is the summary with links:
- [next] net/mlx5: Fix spelling mistakes in mlx5_core_dbg message and comments
https://git.kernel.org/netdev/net-next/c/1e3647321529
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html