From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D744D7081D; Wed, 11 Jun 2025 10:05:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=13.77.154.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749636360; cv=none; b=IvmlLFLnHV7RA73IHL5AyeQQydDmNwvulfKa3somjCM5ySLPDOIW5nmAmOxvGDpOvkH2Z8Ajm1IRaNXkQ+Bcu5ueKmy+xXl5t+F44/3fTeli6LDpIUWlghacrtD1GGqFP3xpKaLGYabzleSGsm5lOGnWbcS4kEuswV7/tDls9Lc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749636360; c=relaxed/simple; bh=qjBcuPulRI2eyx47QShOtDhoswZ6VKlfodV0k4Fw79k=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=tJ52J0EH0s10gKyMnJVDDBuXoayzH6Brn+DE/jBwcYbUSktjNtN2AHylIIs4M8QCAVHF89sUNaqwDrbhA2W/R3Oe+7+EtO71rfPneSC1uTvoCnBWwWx5iCg6xNTnSIuofXTNN99DyklOChVZgFj9k3QYeFlo/h6fL7X44pKgsQ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com; spf=pass smtp.mailfrom=linux.microsoft.com; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b=pOxDx+hj; arc=none smtp.client-ip=13.77.154.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b="pOxDx+hj" Received: from DESKTOP-RSFL4TU.corp.microsoft.com (unknown [167.220.238.139]) by linux.microsoft.com (Postfix) with ESMTPSA id AB33C2115194; Wed, 11 Jun 2025 03:05:49 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com AB33C2115194 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1749636358; bh=gCVgGnsid8uO5iTmv2/yObucT4a844YKHQ1W6Pi0rcg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pOxDx+hjxAdbFLGyijxmC1yUnP9MdDxyHeYXmjh2VC8wM9V3URHQAr2WMDMCv3OZq FIQzRbq53tuHKbrxPXUFFSLDxVsZhFRa7nR/4Vk4UzFAcmUMLbZUZriNCDJBiOREyw O6SSIEmFq9Qc7QusWbu+3/KXzCsEa1znUJuA+ros= From: Naman Jain To: "K . Y . Srinivasan" , Haiyang Zhang , Wei Liu , Dexuan Cui , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H . Peter Anvin" , Vitaly Kuznetsov , Sean Christopherson , Paolo Bonzini , Daniel Lezcano , Andrew Lunn , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Manivannan Sadhasivam , Rob Herring , Bjorn Helgaas , Konstantin Taranov , Leon Romanovsky , Long Li , Shiraz Saleem , Shradha Gupta , Maxim Levitsky , Peter Zijlstra , Erni Sri Satya Vennela , Souradeep Chakrabarti Cc: linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, netdev@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH 5/6] PCI: hv: Fix warnings for missing export.h header inclusion Date: Wed, 11 Jun 2025 15:34:58 +0530 Message-Id: <20250611100459.92900-6-namjain@linux.microsoft.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250611100459.92900-1-namjain@linux.microsoft.com> References: <20250611100459.92900-1-namjain@linux.microsoft.com> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Fix below warning in Hyper-V PCI driver that comes when kernel is compiled with W=1 option. Include export.h in driver files to fix it. * warning: EXPORT_SYMBOL() is used, but #include is missing Signed-off-by: Naman Jain --- drivers/pci/controller/pci-hyperv-intf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/pci-hyperv-intf.c b/drivers/pci/controller/pci-hyperv-intf.c index cc96be450360..28b3e93d31c0 100644 --- a/drivers/pci/controller/pci-hyperv-intf.c +++ b/drivers/pci/controller/pci-hyperv-intf.c @@ -14,6 +14,7 @@ #include #include #include +#include struct hyperv_pci_block_ops hvpci_block_ops; EXPORT_SYMBOL_GPL(hvpci_block_ops); -- 2.34.1