public inbox for linux-hyperv@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/hyperv: Remove duplicate include
@ 2021-10-27  8:57 Jiapeng Chong
  2021-10-28 11:38 ` Wei Liu
  0 siblings, 1 reply; 5+ messages in thread
From: Jiapeng Chong @ 2021-10-27  8:57 UTC (permalink / raw)
  To: kys
  Cc: haiyangz, sthemmin, wei.liu, decui, tglx, mingo, bp, dave.hansen,
	x86, hpa, linux-hyperv, linux-kernel, Jiapeng Chong

Clean up the following includecheck warning:

./arch/x86/hyperv/ivm.c: linux/bitfield.h is included more than once.
./arch/x86/hyperv/ivm.c: linux/types.h is included more than once.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 arch/x86/hyperv/ivm.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/x86/hyperv/ivm.c b/arch/x86/hyperv/ivm.c
index 4d012fd..69c7a57 100644
--- a/arch/x86/hyperv/ivm.c
+++ b/arch/x86/hyperv/ivm.c
@@ -6,11 +6,9 @@
  *  Tianyu Lan <Tianyu.Lan@microsoft.com>
  */
 
-#include <linux/types.h>
 #include <linux/bitfield.h>
 #include <linux/hyperv.h>
 #include <linux/types.h>
-#include <linux/bitfield.h>
 #include <linux/slab.h>
 #include <asm/svm.h>
 #include <asm/sev.h>
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [PATCH] x86/hyperv: Remove duplicate include
@ 2023-08-24  8:03 Jiapeng Chong
  2023-08-24 17:59 ` Dexuan Cui
  2023-08-25  0:06 ` Wei Liu
  0 siblings, 2 replies; 5+ messages in thread
From: Jiapeng Chong @ 2023-08-24  8:03 UTC (permalink / raw)
  To: kys
  Cc: haiyangz, wei.liu, decui, tglx, mingo, bp, dave.hansen, x86, hpa,
	linux-hyperv, linux-kernel, Jiapeng Chong, Abaci Robot

./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 <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6212
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 arch/x86/hyperv/ivm.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/x86/hyperv/ivm.c b/arch/x86/hyperv/ivm.c
index 1448c6338971..55d43415a2fd 100644
--- a/arch/x86/hyperv/ivm.c
+++ b/arch/x86/hyperv/ivm.c
@@ -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>
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-08-25  0:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-27  8:57 [PATCH] x86/hyperv: Remove duplicate include Jiapeng Chong
2021-10-28 11:38 ` Wei Liu
  -- strict thread matches above, loose matches on Subject: below --
2023-08-24  8:03 Jiapeng Chong
2023-08-24 17:59 ` Dexuan Cui
2023-08-25  0:06 ` Wei Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox