]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Fix order of functions in mlx5_irq_detach_nb()
authorShay Drory <shayd@nvidia.com>
Wed, 16 Jun 2021 15:54:05 +0000 (18:54 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 10 Aug 2021 03:56:49 +0000 (20:56 -0700)
commit73023276be068dbea75b2e41dc6f8955de291e20
tree82cffe9b76eaa3c699a78677d2b16fed7888e0c6
parent42d6b25451e27341ecf71474e450e7a23fdc56e8
net/mlx5: Fix order of functions in mlx5_irq_detach_nb()

Change order of functions in mlx5_irq_detach_nb() so it will be
a mirror of mlx5_irq_attach_nb.

Fixes: d42de158378c ("net/mlx5: Allocating a pool of MSI-X vectors for SFs")
Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c