* [PATCH -next] x86/tsc: fix doc warnings in tsc.c
@ 2021-06-10 11:42 Baokun Li
0 siblings, 0 replies; only message in thread
From: Baokun Li @ 2021-06-10 11:42 UTC (permalink / raw)
To: tglx, mingo, bp, x86, hpa, feng.tang, luming.yu, paulmck, peterz,
linux-kernel
Cc: weiyongjun1, yuehaibing, yangjihong1, yukuai3, libaokun1
Fixes the following W=1 kernel build warning(s):
arch/x86/kernel/tsc.c:1275: warning: Excess function
parameter 'cycles' description in 'convert_art_ns_to_tsc'
arch/x86/kernel/tsc.c:1275: warning: Excess function
parameter 'cs' description in 'convert_art_ns_to_tsc'
arch/x86/kernel/tsc.c:1309: warning: Function parameter or
member 'work' not described in 'tsc_refine_calibration_work'
Signed-off-by: Baokun Li <libaokun1@huawei.com>
---
arch/x86/kernel/tsc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c
index 2e076a459a0c..312591c8e3d6 100644
--- a/arch/x86/kernel/tsc.c
+++ b/arch/x86/kernel/tsc.c
@@ -1265,8 +1265,8 @@ EXPORT_SYMBOL(convert_art_to_tsc);
* Return:
* struct system_counterval_t - system counter value with the pointer to the
* corresponding clocksource
- * @cycles: System counter value
- * @cs: Clocksource corresponding to system counter value. Used
+ * cycles: System counter value
+ * cs: Clocksource corresponding to system counter value. Used
* by timekeeping code to verify comparability of two cycle
* values.
*/
@@ -1293,7 +1293,7 @@ static void tsc_refine_calibration_work(struct work_struct *work);
static DECLARE_DELAYED_WORK(tsc_irqwork, tsc_refine_calibration_work);
/**
* tsc_refine_calibration_work - Further refine tsc freq calibration
- * @work - ignored.
+ * @work: ignored.
*
* This functions uses delayed work over a period of a
* second to further refine the TSC freq value. Since this is
--
2.31.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-10 11:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-10 11:42 [PATCH -next] x86/tsc: fix doc warnings in tsc.c 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).