Skip to content

Commit ed3cd1d

Browse files
LiBaokun96KAGA-KOKO
authored andcommitted
cpu/hotplug: Fix kernel doc warnings for __cpuhp_setup_state_cpuslocked()
Fixes the following W=1 kernel build warning(s): kernel/cpu.c:1949: warning: Function parameter or member 'name' not described in '__cpuhp_setup_state_cpuslocked' Signed-off-by: Baokun Li <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent c91eb28 commit ed3cd1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/cpu.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1976,6 +1976,7 @@ EXPORT_SYMBOL_GPL(__cpuhp_state_add_instance);
19761976
/**
19771977
* __cpuhp_setup_state_cpuslocked - Setup the callbacks for an hotplug machine state
19781978
* @state: The state to setup
1979+
* @name: Name of the step
19791980
* @invoke: If true, the startup function is invoked for cpus where
19801981
* cpu state >= @state
19811982
* @startup: startup callback function

0 commit comments

Comments
 (0)