From: Eli Cohen Date: Sun, 2 Apr 2023 12:17:09 +0000 (+0300) Subject: net/mlx5: Include linux/pci.h for pci_msix_can_alloc_dyn() X-Git-Tag: v6.6.17~4755^2~66^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=45e261b7b821139556d039b69c9101207c152a50;p=platform%2Fkernel%2Flinux-rpi.git net/mlx5: Include linux/pci.h for pci_msix_can_alloc_dyn() 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 Link: https://lore.kernel.org/oe-kbuild-all/202303291328.sNmTyyWF-lkp@intel.com/ Signed-off-by: Eli Cohen Signed-off-by: Saeed Mahameed --- diff --git a/drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c b/drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c index e12e528..2245d3b 100644 --- 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 #include #include #include