projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c91eb28
)
cpu/hotplug: Fix kernel doc warnings for __cpuhp_setup_state_cpuslocked()
author
Baokun Li
<libaokun1@huawei.com>
Sat, 5 Jun 2021 06:30:03 +0000
(14:30 +0800)
committer
Thomas Gleixner
<tglx@linutronix.de>
Tue, 10 Aug 2021 16:07:38 +0000
(18:07 +0200)
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
kernel/cpu.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/cpu.c
b/kernel/cpu.c
index 804b847912dc03228ff9e28330fcb0fd02149c92..8930a4e022ce3cd85a7584ec0bae6ef653939d3d 100644
(file)
--- 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