Skip to contentSkip to conversation

cpu/hotplug: fix doc warnings in cpu.c

PATCH Applied Baokun Li 2 participants 2 messages Jun 5, 2021 – Aug 10, 2021 CPU hotplug

lore
Share & tools
lore

Baokun Li

author
#0 lore raw

PATCH 1/1 cpu/hotplug: fix doc warnings in cpu.c

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'

---
 kernel/cpu.c | 1 +
 1 file changed, 1 insertion(+)
kernel/cpu.c +1 -0
index 2942cb4644c5..35ab1bddbb6b 100644
@@ -1927,6 +1927,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
Signature · 1 line
2.31.1
merge bot Applied
#1 lore raw

[tip: smp/core] cpu/hotplug: Fix kernel doc warnings for __cpuhp_setup_state_cpuslocked()

The following commit has been merged into the smp/core branch of tip:

The following commit has been merged into the smp/core branch of tip:

Commit-ID:     ed3cd1da674034c4800abfc48c26f2742d5df17e
Gitweb:        https://git.kernel.org/tip/ed3cd1da674034c4800abfc48c26f2742d5df17e
Author:        Baokun Li <[email protected]>
AuthorDate:    Sat, 05 Jun 2021 14:30:03 +08:00
Committer:     Thomas Gleixner <[email protected]>
CommitterDate: Tue, 10 Aug 2021 18:07:38 +02:00

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'

---
 kernel/cpu.c | 1 +
 1 file changed, 1 insertion(+)
kernel/cpu.c +1 -0
index 804b847..8930a4e 100644
@@ -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