x86/virt/tdx: Correct the errors in the comments
Subsystems (2)
PATCH v2 1/1 x86/virt/tdx: Correct the errors in the comments
In the comment for config_global_keyid(), the phrase "will fail" is duplicated. Remove it.
Acked-by Kai Huang <[email protected]>
Signed-off-by Jun Miao <[email protected]>
--- arch/x86/virt/vmx/tdx/tdx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/virt/vmx/tdx/tdx.c +2 -2
@@ -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
Signature · 1 line
2.32.0