x86/hyperv: Fix warnings for missing export.h header inclusion
authorNaman Jain <namjain@linux.microsoft.com>
Wed, 11 Jun 2025 10:04:55 +0000 (15:34 +0530)
committerWei Liu <wei.liu@kernel.org>
Wed, 9 Jul 2025 23:43:53 +0000 (23:43 +0000)
commit0271e72bc0f7cf180dce3f6d145c83f2d5709a25
tree42690be205fe9916002be8ee512026d639a38218
parent2b206d3468236047d71d4ab6110b1f5b70448e0e
x86/hyperv: Fix warnings for missing export.h header inclusion

Fix below warning in Hyper-V drivers 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 <linux/export.h>
is missing

Signed-off-by: Naman Jain <namjain@linux.microsoft.com>
Reviewed-by: Saurabh Sengar <ssengar@linux.microsoft.com>
Link: https://lore.kernel.org/r/20250611100459.92900-3-namjain@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20250611100459.92900-3-namjain@linux.microsoft.com>
arch/x86/hyperv/hv_init.c
arch/x86/hyperv/irqdomain.c
arch/x86/hyperv/ivm.c
arch/x86/hyperv/nested.c