linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] clockevents: fix doc warnings in clockevents.c
@ 2021-06-08  2:43 Baokun Li
  2021-06-22 14:35 ` [tip: timers/core] clockevents: Add missing parameter documentation tip-bot2 for Baokun Li
  0 siblings, 1 reply; 2+ messages in thread
From: Baokun Li @ 2021-06-08  2:43 UTC (permalink / raw)
  To: tglx, linux-kernel
  Cc: weiyongjun1, yuehaibing, yangjihong1, yukuai3, libaokun1

Add description for `tick_cleanup_dead_cpu` to fix the W=1 warnings:

kernel/time/clockevents.c:634: warning: Function parameter or
 member 'cpu' not described in 'tick_cleanup_dead_cpu'

Signed-off-by: Baokun Li <libaokun1@huawei.com>
---
 kernel/time/clockevents.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c
index 0056d2bed53e..bb9d2fe58480 100644
--- a/kernel/time/clockevents.c
+++ b/kernel/time/clockevents.c
@@ -629,6 +629,7 @@ void tick_offline_cpu(unsigned int cpu)
 
 /**
  * tick_cleanup_dead_cpu - Cleanup the tick and clockevents of a dead cpu
+ * @cpu:	The dead CPU
  */
 void tick_cleanup_dead_cpu(int cpu)
 {
-- 
2.31.1


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

* [tip: timers/core] clockevents: Add missing parameter documentation
  2021-06-08  2:43 [PATCH -next] clockevents: fix doc warnings in clockevents.c Baokun Li
@ 2021-06-22 14:35 ` tip-bot2 for Baokun Li
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Baokun Li @ 2021-06-22 14:35 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Baokun Li, Thomas Gleixner, x86, linux-kernel

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

Commit-ID:     64ab7071254c178e81a6d0203354aad6521258ea
Gitweb:        https://git.kernel.org/tip/64ab7071254c178e81a6d0203354aad6521258ea
Author:        Baokun Li <libaokun1@huawei.com>
AuthorDate:    Tue, 08 Jun 2021 10:43:05 +08:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Tue, 22 Jun 2021 16:33:16 +02:00

clockevents: Add missing parameter documentation

Add the missing documentation for the @cpu parameter of
tick_cleanup_dead_cpu().

Signed-off-by: Baokun Li <libaokun1@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210608024305.2750999-1-libaokun1@huawei.com

---
 kernel/time/clockevents.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c
index 0056d2b..bb9d2fe 100644
--- a/kernel/time/clockevents.c
+++ b/kernel/time/clockevents.c
@@ -629,6 +629,7 @@ void tick_offline_cpu(unsigned int cpu)
 
 /**
  * tick_cleanup_dead_cpu - Cleanup the tick and clockevents of a dead cpu
+ * @cpu:	The dead CPU
  */
 void tick_cleanup_dead_cpu(int cpu)
 {

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

end of thread, other threads:[~2021-06-22 14:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-08  2:43 [PATCH -next] clockevents: fix doc warnings in clockevents.c Baokun Li
2021-06-22 14:35 ` [tip: timers/core] clockevents: Add missing parameter documentation tip-bot2 for Baokun Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).