* [PATCH] x86/hyperv: remove duplicate include in ivm.c
@ 2021-10-27 9:05 cgel.zte
2021-10-28 11:38 ` Wei Liu
0 siblings, 1 reply; 2+ messages in thread
From: cgel.zte @ 2021-10-27 9:05 UTC (permalink / raw)
To: kys
Cc: haiyangz, sthemmin, wei.liu, decui, tglx, mingo, bp, dave.hansen,
x86, hpa, linux-hyperv, linux-kernel, ran jianping, Zeal Robot
From: ran jianping <ran.jianping@zte.com.cn>
'linux/types.h' included in 'arch/x86/hyperv/ivm.c'
is duplicated.It is also included on the 12 line.
'linux/bitfield.h'included in 'arch/x86/hyperv/ivm.c'
is duplicated.It is also included on the 13 line.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ran jianping <ran.jianping@zte.com.cn>
---
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 4d012fd9d95d..479201ceae8e 100644
--- a/arch/x86/hyperv/ivm.c
+++ b/arch/x86/hyperv/ivm.c
@@ -9,8 +9,6 @@
#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>
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] x86/hyperv: remove duplicate include in ivm.c
2021-10-27 9:05 [PATCH] x86/hyperv: remove duplicate include in ivm.c cgel.zte
@ 2021-10-28 11:38 ` Wei Liu
0 siblings, 0 replies; 2+ messages in thread
From: Wei Liu @ 2021-10-28 11:38 UTC (permalink / raw)
To: cgel.zte
Cc: kys, haiyangz, sthemmin, wei.liu, decui, tglx, mingo, bp,
dave.hansen, x86, hpa, linux-hyperv, linux-kernel, ran jianping,
Zeal Robot
On Wed, Oct 27, 2021 at 09:05:44AM +0000, cgel.zte@gmail.com wrote:
> From: ran jianping <ran.jianping@zte.com.cn>
>
> 'linux/types.h' included in 'arch/x86/hyperv/ivm.c'
> is duplicated.It is also included on the 12 line.
> 'linux/bitfield.h'included in 'arch/x86/hyperv/ivm.c'
> is duplicated.It is also included on the 13 line.
>
> Reported-by: Zeal Robot <zealci@zte.com.cn>
> Signed-off-by: ran jianping <ran.jianping@zte.com.cn>
This is already dealt with. Thanks.
> ---
> 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 4d012fd9d95d..479201ceae8e 100644
> --- a/arch/x86/hyperv/ivm.c
> +++ b/arch/x86/hyperv/ivm.c
> @@ -9,8 +9,6 @@
> #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>
> --
> 2.25.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-28 11:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-27 9:05 [PATCH] x86/hyperv: remove duplicate include in ivm.c cgel.zte
2021-10-28 11:38 ` Wei Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).