From: Baokun Li Date: Sat, 5 Jun 2021 06:30:03 +0000 (+0800) Subject: cpu/hotplug: Fix kernel doc warnings for __cpuhp_setup_state_cpuslocked() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ed3cd1da674034c4800abfc48c26f2742d5df17e;p=linux.git 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 --- diff --git a/kernel/cpu.c b/kernel/cpu.c index 804b847912dc0..8930a4e022ce3 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