Thread (2 messages) flat view 2 messages, 2 authors, 2021-10-28

Re: [PATCH] x86/hyperv: Remove duplicate include

From: Wei Liu <wei.liu@kernel.org>
Date: 2021-10-28 11:38:07
Also in: lkml

On Wed, Oct 27, 2021 at 04:57:02PM +0800, Jiapeng Chong wrote:
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 <redacted>
Signed-off-by: Jiapeng Chong <redacted>
Applied to hyperv-next. Thanks.
quoted hunk ↗ jump to hunk
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help