2020-08-19 11:34:44

by Wang Hai

[permalink] [raw]
Subject: [PATCH -next] x86/mpparse: remove duplicate include

Remove asm/io_apic.h which is included more than once

Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wang Hai <[email protected]>
---
arch/x86/kernel/mpparse.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/x86/kernel/mpparse.c b/arch/x86/kernel/mpparse.c
index 411af4aa7b51..00e51626eeb0 100644
--- a/arch/x86/kernel/mpparse.c
+++ b/arch/x86/kernel/mpparse.c
@@ -24,7 +24,6 @@
#include <asm/irqdomain.h>
#include <asm/mtrr.h>
#include <asm/mpspec.h>
-#include <asm/io_apic.h>
#include <asm/proto.h>
#include <asm/bios_ebda.h>
#include <asm/e820/api.h>
--
2.17.1


2020-08-19 13:12:25

by Pekka Enberg

[permalink] [raw]
Subject: Re: [PATCH -next] x86/mpparse: remove duplicate include

On Wed, Aug 19, 2020 at 07:29:10PM +0800, Wang Hai wrote:
> Remove asm/io_apic.h which is included more than once
>
> Reported-by: Hulk Robot <[email protected]>
> Signed-off-by: Wang Hai <[email protected]>

Reviewed-by: Pekka Enberg <[email protected]>

Subject: [tip: x86/cleanups] x86/mpparse: Remove duplicate io_apic.h include

The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID: e33ab2064836600603289ad2ed0ca3424f395fa8
Gitweb: https://git.kernel.org/tip/e33ab2064836600603289ad2ed0ca3424f395fa8
Author: Wang Hai <[email protected]>
AuthorDate: Wed, 19 Aug 2020 19:29:10 +08:00
Committer: Borislav Petkov <[email protected]>
CommitterDate: Thu, 27 Aug 2020 12:00:28 +02:00

x86/mpparse: Remove duplicate io_apic.h include

Remove asm/io_apic.h which is included more than once.

Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wang Hai <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Pekka Enberg <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
---
arch/x86/kernel/mpparse.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/x86/kernel/mpparse.c b/arch/x86/kernel/mpparse.c
index 411af4a..00e5162 100644
--- a/arch/x86/kernel/mpparse.c
+++ b/arch/x86/kernel/mpparse.c
@@ -24,7 +24,6 @@
#include <asm/irqdomain.h>
#include <asm/mtrr.h>
#include <asm/mpspec.h>
-#include <asm/io_apic.h>
#include <asm/proto.h>
#include <asm/bios_ebda.h>
#include <asm/e820/api.h>