projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a880f81
)
net/mlx5: Include linux/pci.h for pci_msix_can_alloc_dyn()
author
Eli Cohen
<elic@nvidia.com>
Sun, 2 Apr 2023 12:17:09 +0000
(15:17 +0300)
committer
Saeed Mahameed
<saeedm@nvidia.com>
Fri, 21 Apr 2023 01:35:50 +0000
(18:35 -0700)
Add include directive to assure pci_msix_can_alloc_dyn() prototype.
Fixes: 3354822cde5a ("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>
drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c
b/drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c
index e12e528c09f51325e44be3283003484391a04fb7..2245d3b2f393bcd60affd0963d3340016502570a 100644
(file)
--- a/
drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c
+++ b/
drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c
@@
-1,6
+1,7
@@
// SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
/* Copyright (c) 2019 Mellanox Technologies. */
+#include <linux/pci.h>
#include <linux/interrupt.h>
#include <linux/notifier.h>
#include <linux/mlx5/driver.h>