[PATCH] cpu: Fix W=1 build kernel-doc warning

From: Thorsten Blum
Date: Sun Aug 25 2024 - 18:12:35 EST


Building the kernel with W=1 generates the following warning:

kernel/cpu.c:2693: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst

The function topology_is_core_online() is a simple helper function and
doesn't need a kernel-doc comment.

Use a normal comment instead to remove this warning.

Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxxx>
---
kernel/cpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/cpu.c b/kernel/cpu.c
index b1fd2a3db91a..852ff634d86f 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -2689,7 +2689,7 @@ int cpuhp_smt_disable(enum cpuhp_smt_control ctrlval)
return ret;
}

-/**
+/*
* Check if the core a CPU belongs to is online
*/
#if !defined(topology_is_core_online)
--
2.46.0