All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] cpu/hotplug: fix doc warnings in cpu.c
@ 2021-06-05  6:30 Baokun Li
  2021-08-10 16:14 ` [tip: smp/core] cpu/hotplug: Fix kernel doc warnings for __cpuhp_setup_state_cpuslocked() tip-bot2 for Baokun Li
  0 siblings, 1 reply; 2+ messages in thread
From: Baokun Li @ 2021-06-05  6:30 UTC (permalink / raw)
  To: peterz, vincent.donnefort, valentin.schneider, mingo, tglx,
	frederic, linux-kernel
  Cc: weiyongjun1, yuehaibing, yangjihong1, yukuai3, libaokun1

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>
---
 kernel/cpu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/cpu.c b/kernel/cpu.c
index 2942cb4644c5..35ab1bddbb6b 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -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
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-10 16:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-05  6:30 [PATCH -next] cpu/hotplug: fix doc warnings in cpu.c Baokun Li
2021-08-10 16:14 ` [tip: smp/core] cpu/hotplug: Fix kernel doc warnings for __cpuhp_setup_state_cpuslocked() tip-bot2 for Baokun Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.