Skip to contentSkip to conversation

x86/virt/tdx: remove kernel-doc syntax from comment

PATCH In review Manuel Ebner 2 participants 2 messages Nov 12

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/virt/tdx: remove kernel-doc syntax from comment

Remove kernel-doc syntax form multiline comment, fixing:

  $ ./scripts/kernel-doc --none arch/x86/virt/vmx/tdx/tdx.c
  Warning: arch/x86/virt/vmx/tdx/tdx.c:123 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst
   * Enable VMXON and then do one-time TDX module per-cpu initialization SEAMCALL
Fixes 165e77353831 ("KVM: x86/tdx: Do VMXON and TDX-Module initialization during subsys init")
---
 arch/x86/virt/vmx/tdx/tdx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/virt/vmx/tdx/tdx.c +1 -1
index 680e5178a8..4ebbd7d059 100644
@@ -120,7 +120,7 @@ static int try_init_module_global(void)
 	return ret;
 }
 
-/**
+/*
  * Enable VMXON and then do one-time TDX module per-cpu initialization SEAMCALL
  * (and TDX module global initialization SEAMCALL if not done) on local cpu to
  * make this cpu be ready to run any other SEAMCALLs.
Signature · 1 line
2.56.0
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Manuel Ebner

Remove kernel-doc syntax form multiline comment, fixing:

  $ ./scripts/kernel-doc --none arch/x86/virt/vmx/tdx/tdx.c
  Warning: arch/x86/virt/vmx/tdx/tdx.c:123 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst
   * Enable VMXON and then do one-time TDX module per-cpu initialization SEAMCALL
Fixes 165e77353831 ("KVM: x86/tdx: Do VMXON and TDX-Module initialization during subsys init")
Signature · 1 line
  Kiryl Shutsemau / Kirill A. Shutemov