From ed3cd1da674034c4800abfc48c26f2742d5df17e Mon Sep 17 00:00:00 2001 From: Baokun Li Date: Sat, 5 Jun 2021 14:30:03 +0800 Subject: 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 Signed-off-by: Thomas Gleixner Link: https://lore.kernel.org/r/20210605063003.681049-1-libaokun1@huawei.com --- kernel/cpu.c | 1 + 1 file changed, 1 insertion(+) (limited to 'kernel/cpu.c') diff --git a/kernel/cpu.c b/kernel/cpu.c index 804b847912dc..8930a4e022ce 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -1976,6 +1976,7 @@ EXPORT_SYMBOL_GPL(__cpuhp_state_add_instance); /** * __cpuhp_setup_state_cpuslocked - Setup the callbacks for an hotplug machine state * @state: The state to setup + * @name: Name of the step * @invoke: If true, the startup function is invoked for cpus where * cpu state >= @state * @startup: startup callback function -- cgit