Skip to content

Commit 45e261b

Browse files
elic307iSaeed Mahameed
authored andcommitted
net/mlx5: Include linux/pci.h for pci_msix_can_alloc_dyn()
Add include directive to assure pci_msix_can_alloc_dyn() prototype. Fixes: 3354822 ("net/mlx5: Use dynamic msix vectors allocation") Reported-by: kernel test robot <lkp@intel.com> Link: https://lore.kernel.org/oe-kbuild-all/202303291328.sNmTyyWF-lkp@intel.com/ Signed-off-by: Eli Cohen <elic@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
1 parent a880f81 commit 45e261b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • drivers/net/ethernet/mellanox/mlx5/core

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
22
/* Copyright (c) 2019 Mellanox Technologies. */
33

4+
#include <linux/pci.h>
45
#include <linux/interrupt.h>
56
#include <linux/notifier.h>
67
#include <linux/mlx5/driver.h>

0 commit comments

Comments
 (0)