lkml.org 
[lkml]   [2021]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH -next] clockevents: fix doc warnings in clockevents.c
Date
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
\
 
 \ /
  Last update: 2021-06-08 04:34    [W:0.042 / U:1.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site