summaryrefslogtreecommitdiff
path: root/kernel/cpu.c
diff options
context:
space:
mode:
authorBaokun Li <libaokun1@huawei.com>2021-06-05 14:30:03 +0800
committerThomas Gleixner <tglx@linutronix.de>2021-08-10 18:07:38 +0200
commited3cd1da674034c4800abfc48c26f2742d5df17e (patch)
treed23b1cbac7f5d2f7abbe01f1fe292a62ae1f512c /kernel/cpu.c
parentc91eb2837310a4e8490fb712598aa7d7148e6d7f (diff)
downloadlwn-ed3cd1da674034c4800abfc48c26f2742d5df17e.tar.gz
lwn-ed3cd1da674034c4800abfc48c26f2742d5df17e.zip
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 <libaokun1@huawei.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20210605063003.681049-1-libaokun1@huawei.com
Diffstat (limited to 'kernel/cpu.c')
-rw-r--r--kernel/cpu.c1
1 files changed, 1 insertions, 0 deletions
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