From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13EF8C7618E for ; Fri, 21 Apr 2023 01:40:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233140AbjDUBkJ (ORCPT ); Thu, 20 Apr 2023 21:40:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233206AbjDUBj7 (ORCPT ); Thu, 20 Apr 2023 21:39:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4DE56A7B for ; Thu, 20 Apr 2023 18:39:50 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 67B2C646C1 for ; Fri, 21 Apr 2023 01:39:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3D3F7C433D2; Fri, 21 Apr 2023 01:39:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682041189; bh=dWF/2XIke8HfR+5sgA1O9mVjlV1FnK7siWZ60W9hI/Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NFKpi3kkoSFXSCYIuyPnPo38jHmvmQNa3hA91h2tllmFvWhabKUYPjOLyvzBnsqoS Rl75Vh3R/xY4Doeor0SIgXbhpU0t7Y8aVsvVfL5Zz7ECks2SUAkqq0xEqpXI02OsNy aOnfTpYwVyFJpA/l59fl1odnWrlSV9DQ9Sugq0YgwzGRDoSQtUs+mnWBcA0VwJCCKj He6D/e9HSPodoBbyz/uY5GL4iix5wBgKPRPFjWnE844JT5vucpMef6n3HEtNeADVjh kzEvrJB0lm32HsjP6fCDtUzXuHicWtvKJWCLv7thKAUfLaAihbnaDR/l87QGkwMM2H Sbk84m8br6bbg== From: Saeed Mahameed To: "David S. Miller" , Jakub Kicinski , Paolo Abeni , Eric Dumazet Cc: Saeed Mahameed , netdev@vger.kernel.org, Tariq Toukan , Eli Cohen , kernel test robot Subject: [net-next 12/15] net/mlx5: Include linux/pci.h for pci_msix_can_alloc_dyn() Date: Thu, 20 Apr 2023 18:38:47 -0700 Message-Id: <20230421013850.349646-13-saeed@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230421013850.349646-1-saeed@kernel.org> References: <20230421013850.349646-1-saeed@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Eli Cohen 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 --- drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c b/drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c index e12e528c09f5..2245d3b2f393 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 -- 2.39.2