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 <[email protected]> Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Eli Cohen <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
1 parent a880f81 commit 45e261b

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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)