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 <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
---
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 <[email protected]>
*/
-#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
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 <[email protected]>
> Signed-off-by: Jiapeng Chong <[email protected]>
Applied to hyperv-next. 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 4d012fd..69c7a57 100644
> --- a/arch/x86/hyperv/ivm.c
> +++ b/arch/x86/hyperv/ivm.c
> @@ -6,11 +6,9 @@
> * Tianyu Lan <[email protected]>
> */
>
> -#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
>