From nobody Sat Oct 11 04:24:48 2025 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 107242620CD; Wed, 11 Jun 2025 10:05:20 +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=1749636322; cv=none; b=bHp6y0BuBRd4qjNT+TzHa3EiKP/KoVrsiAGPi4AW5qHYcbbH6bJnmXe63lIdgbS7nays7IyQiaVCOiVIZAdImlCluv0g3fkOdxscJoM/Vfs6l0vS+T1IHWhnwc5jtiSDOAOnpRmzRn4/swkeP5f9lpWYYYQ+a6tWl+wmcqjkKNY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749636322; c=relaxed/simple; bh=38ZBvdXOLrzJgtqJkRCDNiM4ZdoCEhHLLDJ5f2K3jX8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=K2bdUxN+M6xKd3iuPt9TVazNFJoF4LLHo67xxErKm7h3L+lfMm5JSpO+Dg7yuPBp7YPwtFQSZq/DURiQYc2lDaTVnZBnf+EUZ7LEAd8uImDcg4nePcK5zqPTGBmTtUASuUfSY1nA4uhcrMrdOlVQzty4jb5OnByM8pgSJX1gBAA= 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=iuzIOM/t; 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="iuzIOM/t" Received: from DESKTOP-RSFL4TU.corp.microsoft.com (unknown [167.220.238.139]) by linux.microsoft.com (Postfix) with ESMTPSA id 7D6B2211518C; Wed, 11 Jun 2025 03:05:11 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 7D6B2211518C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1749636320; bh=Mav1jj1rRpepm5NujOv1uuKDku5hJQrIu6Weg9MHajQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iuzIOM/tXq0yUP09daxvsIQKc5nPJ+EkkReuauCtVDyPkoYY8CnDgSxQaFIsIiX7I AWCB8wjHMbapE3EJRD6a/KizXBcmjvfjLv2UWIJZf/AGvVV47V/T3m4BymJkpwNsMU OxCVco43RjK5nKqpjEQwnSw4dQudltqkH/YBd5eA= 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 1/6] Drivers: hv: Fix warnings for missing export.h header inclusion Date: Wed, 11 Jun 2025 15:34:54 +0530 Message-Id: <20250611100459.92900-2-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 Reviewed-by: Nuno Das Neves Reviewed-by: Saurabh Sengar --- drivers/hv/channel.c | 1 + drivers/hv/channel_mgmt.c | 1 + drivers/hv/hv_proc.c | 1 + drivers/hv/mshv_common.c | 1 + drivers/hv/mshv_root_hv_call.c | 1 + drivers/hv/ring_buffer.c | 1 + 6 files changed, 6 insertions(+) diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c index 35f26fa1ffe7..7c7c66e0dc3f 100644 --- a/drivers/hv/channel.c +++ b/drivers/hv/channel.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include =20 diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c index 6e084c207414..65dd299e2944 100644 --- a/drivers/hv/channel_mgmt.c +++ b/drivers/hv/channel_mgmt.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include =20 diff --git a/drivers/hv/hv_proc.c b/drivers/hv/hv_proc.c index 7d7ecb6f6137..fbb4eb3901bb 100644 --- a/drivers/hv/hv_proc.c +++ b/drivers/hv/hv_proc.c @@ -6,6 +6,7 @@ #include #include #include +#include #include =20 /* diff --git a/drivers/hv/mshv_common.c b/drivers/hv/mshv_common.c index 2575e6d7a71f..6f227a8a5af7 100644 --- a/drivers/hv/mshv_common.c +++ b/drivers/hv/mshv_common.c @@ -13,6 +13,7 @@ #include #include #include +#include =20 #include "mshv.h" =20 diff --git a/drivers/hv/mshv_root_hv_call.c b/drivers/hv/mshv_root_hv_call.c index a222a16107f6..c9c274f29c3c 100644 --- a/drivers/hv/mshv_root_hv_call.c +++ b/drivers/hv/mshv_root_hv_call.c @@ -9,6 +9,7 @@ =20 #include #include +#include #include =20 #include "mshv_root.h" diff --git a/drivers/hv/ring_buffer.c b/drivers/hv/ring_buffer.c index 3c9b02471760..23ce1fb70de1 100644 --- a/drivers/hv/ring_buffer.c +++ b/drivers/hv/ring_buffer.c @@ -18,6 +18,7 @@ #include #include #include +#include #include =20 #include "hyperv_vmbus.h" --=20 2.34.1 From nobody Sat Oct 11 04:24:48 2025 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7308726981F; Wed, 11 Jun 2025 10:05:30 +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=1749636331; cv=none; b=sCpwJL45qySQQ9JyDwjBp/5BJudatGgJBh2+rF/ZYEmPp1Ry5sZK+79REQAwleG8bN+twGDW+isOBqDSHoIjMsnjdAXN94mJo4ZVE2ei1gUOOyzzxfGzvZFP2uJhl8qPq+jtjb8v2ybynzx9ZIju5Dj4EvPOmSSF1IzKtuK0uig= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749636331; c=relaxed/simple; bh=c3MGgcLuHBuTy5Q5AZf2oL6RPIsAHX6On6VI129UPU4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=s03nNfEf+Ss1G68wtTgaJZlNbG5ZkbS9Olb9QwXuE0xE+4XofxW7nahlEChXWAASE7Pg186Q2ipr5TPL74EvlT6GaUbjV5BqokPVIszRxqKapWHZC4xCb4t9zw2uDd0TidcahBPMVosHMSQFIP5h7pwkeCC/RR8ON0BzeLMcPKM= 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=MUDrcCi6; 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="MUDrcCi6" Received: from DESKTOP-RSFL4TU.corp.microsoft.com (unknown [167.220.238.139]) by linux.microsoft.com (Postfix) with ESMTPSA id 101962115191; Wed, 11 Jun 2025 03:05:20 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 101962115191 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1749636330; bh=hhmJV4jbmsjCIZBbXFBUFq8i/eFYROTAil7BVAImEWs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MUDrcCi6ooE6MB1oBNeBYNvilQ7A1HtQve3poCeOqHpzhl9Hy8dsp+dL403S4lzpo mFjSiQ9y2GQ3aG59vvCqo+ShJDDg3G945P3ZQgK77D47vv5gzX162y0GWmZYQx59kC deXXCWds5JhOAVS8LTPiRpPEd1j2+lNZZMAUNzgo= 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 2/6] x86/hyperv: Fix warnings for missing export.h header inclusion Date: Wed, 11 Jun 2025 15:34:55 +0530 Message-Id: <20250611100459.92900-3-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 Reviewed-by: Saurabh Sengar --- arch/x86/hyperv/hv_init.c | 1 + arch/x86/hyperv/irqdomain.c | 1 + arch/x86/hyperv/ivm.c | 1 + arch/x86/hyperv/nested.c | 1 + 4 files changed, 4 insertions(+) diff --git a/arch/x86/hyperv/hv_init.c b/arch/x86/hyperv/hv_init.c index 3d1d3547095a..afdbda2dd7b7 100644 --- a/arch/x86/hyperv/hv_init.c +++ b/arch/x86/hyperv/hv_init.c @@ -34,6 +34,7 @@ #include #include #include +#include =20 void *hv_hypercall_pg; EXPORT_SYMBOL_GPL(hv_hypercall_pg); diff --git a/arch/x86/hyperv/irqdomain.c b/arch/x86/hyperv/irqdomain.c index 31f0d29cbc5e..f7627bc8fe49 100644 --- a/arch/x86/hyperv/irqdomain.c +++ b/arch/x86/hyperv/irqdomain.c @@ -10,6 +10,7 @@ =20 #include #include +#include #include =20 static int hv_map_interrupt(union hv_device_id device_id, bool level, diff --git a/arch/x86/hyperv/ivm.c b/arch/x86/hyperv/ivm.c index e93a2f488ff7..ade6c665c97e 100644 --- a/arch/x86/hyperv/ivm.c +++ b/arch/x86/hyperv/ivm.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include diff --git a/arch/x86/hyperv/nested.c b/arch/x86/hyperv/nested.c index 1083dc8646f9..8ccbb7c4fc27 100644 --- a/arch/x86/hyperv/nested.c +++ b/arch/x86/hyperv/nested.c @@ -11,6 +11,7 @@ =20 =20 #include +#include #include #include #include --=20 2.34.1 From nobody Sat Oct 11 04:24:48 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 Reviewed-by: Saurabh Sengar --- 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 From nobody Sat Oct 11 04:24:48 2025 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7A587262FD8; Wed, 11 Jun 2025 10:05:49 +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=1749636350; cv=none; b=e78I1WxQTI3LxZUc+uRZ7bw8FKK1LQidlmWfiQihDczoQWqHH76iw0pinY8gR56Zq/tRiEPuEReVWQgY6nJJ71iFpcZT7VxlNm5b9imYHFVlP806e1IYpmjZvjg9Hq54zrrSAJC57VxDSG/Jy8YoTzZKKCRr45PDSzgscLxfX0w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749636350; c=relaxed/simple; bh=pGHUZ1n0HBaCxVNIYFnzW0xPci7Q7jOJnN75l5q16Vg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=tJYVv0KJNsMGwsTlVTFlW++hNLKY5jzQAoOCZwO8yB590/CH9lyKDgC3GbWb24S/X1k9fwkSpIkdm1Py9jfI9OXla/yA63OIDPcvM6mzYGgtMwYE0DizPgRp0t8SYe+5eotbl62/CYacVT2MZmmQOllVbzmmRowe26En7VPGzXo= 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=gnphaAdm; 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="gnphaAdm" Received: from DESKTOP-RSFL4TU.corp.microsoft.com (unknown [167.220.238.139]) by linux.microsoft.com (Postfix) with ESMTPSA id 278172115192; Wed, 11 Jun 2025 03:05:39 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 278172115192 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1749636349; bh=xLsz86gnpqCtncCunTpTzLuVw47I0LwGtSW/SUX+e4Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gnphaAdmveyeXneMXGgE4Cvo0T3LHyElB7SlL+MljUl5NRhfqYLgTY5rdRFYYkTyR nUm0v51rFeezZ5jWhcKjf6iMFDW9jOdF98mbg+Sa9s5U87BRTnYJJhoF7SZq2uHnbk rLfGFkqbJweNlZeeujSmFBHBSmD+LVHftd25p7Dg= 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 4/6] clocksource: hyper-v: Fix warnings for missing export.h header inclusion Date: Wed, 11 Jun 2025 15:34:57 +0530 Message-Id: <20250611100459.92900-5-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 clocksource driver 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 Acked-by: Daniel Lezcano Reviewed-by: Saurabh Sengar --- drivers/clocksource/hyperv_timer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clocksource/hyperv_timer.c b/drivers/clocksource/hyper= v_timer.c index 09549451dd51..2edc13ca184e 100644 --- a/drivers/clocksource/hyperv_timer.c +++ b/drivers/clocksource/hyperv_timer.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include --=20 2.34.1 From nobody Sat Oct 11 04:24:48 2025 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: 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 PCI driver 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 Reviewed-by: Saurabh Sengar --- 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/control= ler/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 =20 struct hyperv_pci_block_ops hvpci_block_ops; EXPORT_SYMBOL_GPL(hvpci_block_ops); --=20 2.34.1 From nobody Sat Oct 11 04:24:48 2025 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8AE42269B07; Wed, 11 Jun 2025 10:06:08 +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=1749636369; cv=none; b=WlVL0U1xS1gBlI/IR1FnECCBZYenXG+7YmUk8oB4TA1NK4XPZHjb50YYFBy5FsuBxGeSBluoOXOtiR+psDsWEtYv1dPIqj5VNIZ314SJLBM3G+cMKV8lBpaKRjRXUWbLwk6OO4FMuRV7NbyvttOrFh6pgnlhJ6oEfJ+COUtOpK0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749636369; c=relaxed/simple; bh=VPToYgHTheKgSk91dnwnpEWxu/iIsLz1NQjpp/HoK9w=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=T51hUPL3JQRGSiAq1WSG2PQssSJYdNg0VO9cwVR5N/dEinW6iIG603bA6Das66aq3Z1wJiadJGJxPCk9a+il/33gVGQrfyorK1emZM+Ue5+cDnCQtmHATdxQ6lMxJ0ZSAIh6nG6eglEZgeNmorWEtjMzOt1Cq0VUDsE5a6w/wUk= 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=PHHyZWPV; 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="PHHyZWPV" Received: from DESKTOP-RSFL4TU.corp.microsoft.com (unknown [167.220.238.139]) by linux.microsoft.com (Postfix) with ESMTPSA id 39C1C2115195; Wed, 11 Jun 2025 03:05:59 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 39C1C2115195 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1749636368; bh=l9DJH+HH91jPT4Tylpz4H2GjnE02AKAT2ubUE2pzEro=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PHHyZWPVtEmfXi5vOF5F/eDDCnYGlmDYvN+YWlxT44TjhYZYGjibB/xPd/AxQy/gZ 7ued2Ffk4pZ7jRhTeZ3Cx1mY3bNmcTNh04KOwmlKSbYDve8rHliQ1INHILM79AaJDZ mwaExEMIafpFxHeCbw1w2uxSdPURtYOmR5S6JimA= 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 6/6] net: mana: Fix warnings for missing export.h header inclusion Date: Wed, 11 Jun 2025 15:34:59 +0530 Message-Id: <20250611100459.92900-7-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's MANA 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 Reviewed-by: Saurabh Sengar --- drivers/net/ethernet/microsoft/mana/gdma_main.c | 1 + drivers/net/ethernet/microsoft/mana/mana_en.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/net/ethernet/microsoft/mana/gdma_main.c b/drivers/net/= ethernet/microsoft/mana/gdma_main.c index 3504507477c6..019e32b60043 100644 --- a/drivers/net/ethernet/microsoft/mana/gdma_main.c +++ b/drivers/net/ethernet/microsoft/mana/gdma_main.c @@ -6,6 +6,7 @@ #include #include #include +#include =20 #include =20 diff --git a/drivers/net/ethernet/microsoft/mana/mana_en.c b/drivers/net/et= hernet/microsoft/mana/mana_en.c index ccd2885c939e..faad1cb880f8 100644 --- a/drivers/net/ethernet/microsoft/mana/mana_en.c +++ b/drivers/net/ethernet/microsoft/mana/mana_en.c @@ -10,6 +10,7 @@ #include #include #include +#include =20 #include #include --=20 2.34.1