Skip to content

Commit 1e36473

Browse files
ColinIanKingkuba-moo
authored andcommitted
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. Signed-off-by: Colin Ian King <[email protected]> Acked-by: Mark Bloch <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 61fde51 commit 1e36473

File tree

1 file changed

+3
-3
lines changed
  • drivers/net/ethernet/mellanox/mlx5/core

1 file changed

+3
-3
lines changed

drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ int mlx5_set_msix_vec_count(struct mlx5_core_dev *dev, int function_id,
148148
* Free the IRQ and other resources such as rmap from the system.
149149
* BUT doesn't free or remove reference from mlx5.
150150
* This function is very important for the shutdown flow, where we need to
151-
* cleanup system resoruces but keep mlx5 objects alive,
151+
* cleanup system resources but keep mlx5 objects alive,
152152
* see mlx5_irq_table_free_irqs().
153153
*/
154154
static void mlx5_system_free_irq(struct mlx5_irq *irq)
@@ -588,7 +588,7 @@ static void irq_pool_free(struct mlx5_irq_pool *pool)
588588
struct mlx5_irq *irq;
589589
unsigned long index;
590590

591-
/* There are cases in which we are destrying the irq_table before
591+
/* There are cases in which we are destroying the irq_table before
592592
* freeing all the IRQs, fast teardown for example. Hence, free the irqs
593593
* which might not have been freed.
594594
*/
@@ -617,7 +617,7 @@ static int irq_pools_init(struct mlx5_core_dev *dev, int sf_vec, int pcif_vec,
617617
if (!mlx5_sf_max_functions(dev))
618618
return 0;
619619
if (sf_vec < MLX5_IRQ_VEC_COMP_BASE_SF) {
620-
mlx5_core_dbg(dev, "Not enught IRQs for SFs. SF may run at lower performance\n");
620+
mlx5_core_dbg(dev, "Not enough IRQs for SFs. SF may run at lower performance\n");
621621
return 0;
622622
}
623623

0 commit comments

Comments
 (0)