Drivers: hv: Fix warnings for missing export.h header inclusion
authorNaman Jain <namjain@linux.microsoft.com>
Wed, 11 Jun 2025 10:04:54 +0000 (15:34 +0530)
committerWei Liu <wei.liu@kernel.org>
Wed, 9 Jul 2025 23:43:52 +0000 (23:43 +0000)
commit2b206d3468236047d71d4ab6110b1f5b70448e0e
tree6b5e07d3d1d4f614dcc09f394e7633fc6d36dc12
parentb0871aa0f8df55dbf0aad55d2ab2100c23071b4b
Drivers: hv: 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: Nuno Das Neves <nunodasneves@linux.microsoft.com>
Reviewed-by: Saurabh Sengar <ssengar@linux.microsoft.com>
Link: https://lore.kernel.org/r/20250611100459.92900-2-namjain@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20250611100459.92900-2-namjain@linux.microsoft.com>
drivers/hv/channel.c
drivers/hv/channel_mgmt.c
drivers/hv/hv_proc.c
drivers/hv/mshv_common.c
drivers/hv/mshv_root_hv_call.c
drivers/hv/ring_buffer.c