From: Jun Miao <jun.miao@intel.com>
To: kirill.shutemov@linux.intel.com, dave.hansen@linux.intel.com
Cc: linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: [PATCH] x86/virt/tdx: Correct the errors in the comments
Date: Wed, 12 Feb 2025 15:58:05 +0800 [thread overview]
Message-ID: <20250212075805.2906200-1-jun.miao@intel.com> (raw)
In comment of config_global_keyid(), the "will fail" is duplicate, delete it.
Signed-off-by: Jun Miao <jun.miao@intel.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
next reply other threads:[~2025-02-12 7:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-12 7:58 Jun Miao [this message]
2025-02-12 12:01 ` [PATCH] x86/virt/tdx: Correct the errors in the comments Kirill A. Shutemov
2025-02-12 22:09 ` Huang, Kai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250212075805.2906200-1-jun.miao@intel.com \
--to=jun.miao@intel.com \
--cc=dave.hansen@linux.intel.com \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-coco@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox