[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210605063003.681049-1-libaokun1@huawei.com>
Date: Sat, 5 Jun 2021 14:30:03 +0800
From: Baokun Li <libaokun1@...wei.com>
To: <peterz@...radead.org>, <vincent.donnefort@....com>,
<valentin.schneider@....com>, <mingo@...nel.org>,
<tglx@...utronix.de>, <frederic@...nel.org>,
<linux-kernel@...r.kernel.org>
CC: <weiyongjun1@...wei.com>, <yuehaibing@...wei.com>,
<yangjihong1@...wei.com>, <yukuai3@...wei.com>,
<libaokun1@...wei.com>
Subject: [PATCH -next] 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'
Signed-off-by: Baokun Li <libaokun1@...wei.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
Powered by blists - more mailing lists