public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/virt/tdx: Correct the errors in the comments
@ 2025-02-12  7:58 Jun Miao
  2025-02-12 12:01 ` Kirill A. Shutemov
  0 siblings, 1 reply; 3+ messages in thread
From: Jun Miao @ 2025-02-12  7:58 UTC (permalink / raw)
  To: kirill.shutemov, dave.hansen; +Cc: linux-coco, linux-kernel

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


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

* Re: [PATCH] x86/virt/tdx: Correct the errors in the comments
  2025-02-12  7:58 [PATCH] x86/virt/tdx: Correct the errors in the comments Jun Miao
@ 2025-02-12 12:01 ` Kirill A. Shutemov
  2025-02-12 22:09   ` Huang, Kai
  0 siblings, 1 reply; 3+ messages in thread
From: Kirill A. Shutemov @ 2025-02-12 12:01 UTC (permalink / raw)
  To: Jun Miao; +Cc: dave.hansen, linux-coco, linux-kernel

On Wed, Feb 12, 2025 at 03:58:05PM +0800, Jun Miao wrote:
> In comment of config_global_keyid(), the "will fail" is duplicate, delete it.

  In the comment for config_global_keyid(), the phrase "will fail" is
  duplicated. Remove it.

> Signed-off-by: Jun Miao <jun.miao@intel.com>

Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>

-- 
  Kiryl Shutsemau / Kirill A. Shutemov

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

* Re: [PATCH] x86/virt/tdx: Correct the errors in the comments
  2025-02-12 12:01 ` Kirill A. Shutemov
@ 2025-02-12 22:09   ` Huang, Kai
  0 siblings, 0 replies; 3+ messages in thread
From: Huang, Kai @ 2025-02-12 22:09 UTC (permalink / raw)
  To: Kirill A. Shutemov, Jun Miao; +Cc: dave.hansen, linux-coco, linux-kernel



On 13/02/2025 1:01 am, Kirill A. Shutemov wrote:
> On Wed, Feb 12, 2025 at 03:58:05PM +0800, Jun Miao wrote:
>> In comment of config_global_keyid(), the "will fail" is duplicate, delete it.
> 
>    In the comment for config_global_keyid(), the phrase "will fail" is
>    duplicated. Remove it.
> 
>> Signed-off-by: Jun Miao <jun.miao@intel.com>
> 
> Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
> 

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

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

end of thread, other threads:[~2025-02-12 22:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-12  7:58 [PATCH] x86/virt/tdx: Correct the errors in the comments Jun Miao
2025-02-12 12:01 ` Kirill A. Shutemov
2025-02-12 22:09   ` Huang, Kai

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