x86_coco_sev: Fix build warnings about export.h
Subsystems (2)
PATCH 1/1 x86_coco_sev: Fix build warnings about export.h
From: ChengZhenghan <[email protected]>
I got a build warning with W=1:arch/x86/coco/sev/core.c:
warning: EXPORT_SYMBOL() is used,
but #include <linux/export.h> is missing
so I fixed the build warning for x86_64.
Signed-off-by ChengZhenghan <[email protected]>
--- arch/x86/coco/sev/core.c | 1 + 1 file changed, 1 insertion(+)
arch/x86/coco/sev/core.c +1 -0
@@ -20,6 +20,7 @@#include <linux/mm.h> #include <linux/cpumask.h> #include <linux/efi.h> +#include <linux/export.h> #include <linux/platform_device.h> #include <linux/io.h> #include <linux/psp-sev.h>
Signature · 1 line
2.47.2