[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250212075805.2906200-1-jun.miao@intel.com>
Date: Wed, 12 Feb 2025 15:58:05 +0800
From: Jun Miao <jun.miao@...el.com>
To: kirill.shutemov@...ux.intel.com,
dave.hansen@...ux.intel.com
Cc: linux-coco@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: [PATCH] x86/virt/tdx: Correct the errors in the comments
In comment of config_global_keyid(), the "will fail" is duplicate, delete it.
Signed-off-by: Jun Miao <jun.miao@...el.com>
---
arch/x86/virt/vmx/tdx/tdx.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/virt/vmx/tdx/tdx.c b/arch/x86/virt/vmx/tdx/tdx.c
index 7fdb37387886..2023216a04a9 100644
--- a/arch/x86/virt/vmx/tdx/tdx.c
+++ b/arch/x86/virt/vmx/tdx/tdx.c
@@ -961,8 +961,8 @@ static int do_global_key_config(void *unused)
* Attempt to configure the global KeyID on all physical packages.
*
* This requires running code on at least one CPU in each package.
- * TDMR initialization) will fail will fail if any package in the
- * system has no online CPUs.
+ * TDMR initialization) will fail if any package in the system has
+ * no online CPUs.
*
* This code takes no affirmative steps to online CPUs. Callers (aka.
* KVM) can ensure success by ensuring sufficient CPUs are online and
--
2.32.0
Powered by blists - more mailing lists