From nobody Sat Oct 11 08:30:35 2025 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EF50125F967; Wed, 11 Jun 2025 10:05:39 +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=1749636341; cv=none; b=cRrrp4mcHWpnyb6e/HaIeydDV5nKUlxhR9cImBqh4aazxDaskuiw5vue1FsQ6lus7LizQ/zvgp9r71OIjSs1Du0tpCSFPt7UAXaIBu+jMjCaV98PQ7ZU2Kz6uzJ2FOeVhV5tECxaDo3ngSkFQC8YbAagH9JA9Rfq2FJzp/Ide4A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749636341; c=relaxed/simple; bh=hjQSmeDTtGCOtlosXlMY9DOp2O+BmgFXXi/BBqDRsMY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Wio1wmcz6Sy/ZOpV3N0ooLqv7cabQ+hrcwqMKiW/b4UZSz8aCfpX48RFpR3Wv41cliyyqHmSehQ8JEtZb7V0zqzeI/aW29+M5XyCk3rdeq5UZTHNPZhKQ95Og7adxM9IvE0YlB13kLb1duzozWEsX01NKPSMrHGdRqRspi6ZjOA= 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=G19scGWg; 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="G19scGWg" Received: from DESKTOP-RSFL4TU.corp.microsoft.com (unknown [167.220.238.139]) by linux.microsoft.com (Postfix) with ESMTPSA id 94E23211518F; Wed, 11 Jun 2025 03:05:30 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 94E23211518F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1749636339; bh=aGhf9pZAXcsrFOA10Cx3scwNyv6xzn/R2BH5ft4tdVc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=G19scGWg2rfuTT5vNAvhDc741LXQtKlwfX5y4hWp4k8ikMO9/rD8PAdN4pAvxV/Uh z/lfiwhdyaPm+d1BjdFzyGZqDLlvsWky+YZs38azhBTIVMgi0MK5AyCrqHYBMG3Sz7 RRBZA6kuULDT+N6gWyulwrlhPW0kmbrTtT4xgQp4= 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 3/6] KVM: x86: hyper-v: Fix warnings for missing export.h header inclusion Date: Wed, 11 Jun 2025 15:34:56 +0530 Message-Id: <20250611100459.92900-4-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: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Fix below warning in Hyper-V drivers that comes when kernel is compiled with W=3D1 option. Include export.h in driver files to fix it. * warning: EXPORT_SYMBOL() is used, but #include is missing Signed-off-by: Naman Jain --- arch/x86/kvm/hyperv.c | 1 + arch/x86/kvm/kvm_onhyperv.c | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/x86/kvm/hyperv.c b/arch/x86/kvm/hyperv.c index 24f0318c50d7..09f9de4555dd 100644 --- a/arch/x86/kvm/hyperv.c +++ b/arch/x86/kvm/hyperv.c @@ -33,6 +33,7 @@ #include #include #include +#include =20 #include #include diff --git a/arch/x86/kvm/kvm_onhyperv.c b/arch/x86/kvm/kvm_onhyperv.c index ded0bd688c65..ba45f8364187 100644 --- a/arch/x86/kvm/kvm_onhyperv.c +++ b/arch/x86/kvm/kvm_onhyperv.c @@ -5,6 +5,7 @@ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt =20 #include +#include #include =20 #include "hyperv.h" --=20 2.34.1