Linux Confidential Computing Development
 help / color / mirror / Atom feed
* [PATCH] x86/virt/tdx: Remove duplicate include
@ 2024-03-22  6:17 Jiapeng Chong
  2024-03-22  6:38 ` Huang, Kai
  0 siblings, 1 reply; 2+ messages in thread
From: Jiapeng Chong @ 2024-03-22  6:17 UTC (permalink / raw)
  To: kirill.shutemov
  Cc: dave.hansen, tglx, mingo, bp, x86, hpa, linux-coco, linux-kernel,
	Jiapeng Chong, Abaci Robot

./arch/x86/virt/vmx/tdx/tdx.c: linux/acpi.h is included more than once.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8609
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 arch/x86/virt/vmx/tdx/tdx.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/virt/vmx/tdx/tdx.c b/arch/x86/virt/vmx/tdx/tdx.c
index 4d6826a76f78..49a1c6890b55 100644
--- a/arch/x86/virt/vmx/tdx/tdx.c
+++ b/arch/x86/virt/vmx/tdx/tdx.c
@@ -27,7 +27,6 @@
 #include <linux/log2.h>
 #include <linux/acpi.h>
 #include <linux/suspend.h>
-#include <linux/acpi.h>
 #include <asm/page.h>
 #include <asm/special_insns.h>
 #include <asm/msr-index.h>
-- 
2.20.1.7.g153144c


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

* Re: [PATCH] x86/virt/tdx: Remove duplicate include
  2024-03-22  6:17 [PATCH] x86/virt/tdx: Remove duplicate include Jiapeng Chong
@ 2024-03-22  6:38 ` Huang, Kai
  0 siblings, 0 replies; 2+ messages in thread
From: Huang, Kai @ 2024-03-22  6:38 UTC (permalink / raw)
  To: jiapeng.chong@linux.alibaba.com, kirill.shutemov@linux.intel.com
  Cc: x86@kernel.org, dave.hansen@linux.intel.com, hpa@zytor.com,
	linux-kernel@vger.kernel.org, tglx@linutronix.de, bp@alien8.de,
	mingo@redhat.com, linux-coco@lists.linux.dev,
	abaci@linux.alibaba.com

On Fri, 2024-03-22 at 14:17 +0800, Jiapeng Chong wrote:
> ./arch/x86/virt/vmx/tdx/tdx.c: linux/acpi.h is included more than once.
> 
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8609
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
> ---
>  arch/x86/virt/vmx/tdx/tdx.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/x86/virt/vmx/tdx/tdx.c b/arch/x86/virt/vmx/tdx/tdx.c
> index 4d6826a76f78..49a1c6890b55 100644
> --- a/arch/x86/virt/vmx/tdx/tdx.c
> +++ b/arch/x86/virt/vmx/tdx/tdx.c
> @@ -27,7 +27,6 @@
>  #include <linux/log2.h>
>  #include <linux/acpi.h>
>  #include <linux/suspend.h>
> -#include <linux/acpi.h>
>  #include <asm/page.h>
>  #include <asm/special_insns.h>
>  #include <asm/msr-index.h>

Thanks:

Reviewed-by: Kai Huang <kai.huang@intel.com>

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

end of thread, other threads:[~2024-03-22  6:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-22  6:17 [PATCH] x86/virt/tdx: Remove duplicate include Jiapeng Chong
2024-03-22  6:38 ` Huang, Kai

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