Skip to content

Commit 8db70fa

Browse files
tobluxKAGA-KOKO
authored andcommitted
cpu: Fix W=1 build kernel-doc warning
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. The function topology_is_core_online() is a simple helper function and doesn't need a kernel-doc comment. Use a normal comment instead. Signed-off-by: Thorsten Blum <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/all/[email protected]
1 parent eb876ea commit 8db70fa

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

kernel/cpu.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2705,9 +2705,7 @@ int cpuhp_smt_disable(enum cpuhp_smt_control ctrlval)
27052705
return ret;
27062706
}
27072707

2708-
/**
2709-
* Check if the core a CPU belongs to is online
2710-
*/
2708+
/* Check if the core a CPU belongs to is online */
27112709
#if !defined(topology_is_core_online)
27122710
static inline bool topology_is_core_online(unsigned int cpu)
27132711
{

0 commit comments

Comments
 (0)