x86/hyperv: Remove duplicate include
Subsystems (3)
PATCH 1/1 x86/hyperv: Remove duplicate include
./arch/x86/hyperv/ivm.c: asm/sev.h is included more than once. ./arch/x86/hyperv/ivm.c: asm/coco.h is included more than once.
Reported-by Abaci Robot <[email protected]>
Signed-off-by Jiapeng Chong <[email protected]>
--- arch/x86/hyperv/ivm.c | 2 -- 1 file changed, 2 deletions(-)
arch/x86/hyperv/ivm.c +0 -2
@@ -18,9 +18,7 @@#include <asm/mshyperv.h> #include <asm/hypervisor.h> #include <asm/mtrr.h> -#include <asm/coco.h> #include <asm/io_apic.h> -#include <asm/sev.h> #include <asm/realmode.h> #include <asm/e820/api.h> #include <asm/desc.h>
Signature · 1 line
2.20.1.7.g153144c
Quoted 5 lines
From: Jiapeng Chong <[email protected]>
Sent: Thursday, August 24, 2023 1:04 AM
[...]
arch/x86/hyperv/ivm.c line 24
Quoted 9 lines
arch/x86/hyperv/ivm.c +0
-2@@ -18,9 +18,7 @@#include <asm/mshyperv.h> #include <asm/hypervisor.h> #include <asm/mtrr.h> -#include <asm/coco.h> #include <asm/io_apic.h> -#include <asm/sev.h> #include <asm/realmode.h> #include <asm/e820/api.h> #include <asm/desc.h>
I wish the header files were alphabetically ordered so that we would have avoided the issue...
Reviewed-by Dexuan Cui <[email protected]>
Quoted 6 lines · Jiapeng Chong
./arch/x86/hyperv/ivm.c:asm/sev.his included more than once../arch/x86/hyperv/ivm.c:asm/coco.his included more than once.Reported-by Abaci Robot <[email protected]>Signed-off-by Jiapeng Chong <[email protected]>
Applied to hyperv-next, thanks!