diff options
author | Baokun Li <libaokun1@huawei.com> | 2021-06-05 08:30:03 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2021-08-10 18:07:38 +0200 |
commit | ed3cd1da674034c4800abfc48c26f2742d5df17e (patch) | |
tree | d23b1cbac7f5d2f7abbe01f1fe292a62ae1f512c /kernel/cpu.c | |
parent | cpu/hotplug: Fix comment typo (diff) | |
download | linux-ed3cd1da674034c4800abfc48c26f2742d5df17e.tar.xz linux-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.c | 1 |
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 |