* [PATCH v2] cpufreq: longrun: fix kernel-doc warning
@ 2026-10-20 7:19 Manuel Ebner
2026-10-21 3:56 ` Viresh Kumar
0 siblings, 1 reply; 2+ messages in thread
From: Manuel Ebner @ 2026-10-20 7:19 UTC (permalink / raw)
To: Rafael J. Wysocki, Viresh Kumar
Cc: Zhongqiu Han, Manuel Ebner, linux-pm, linux-kernel
Replace kernel-doc comment with normal multi-line comment thereby fixing:
$ ./scripts/kernel-doc -none drivers/cpufreq/longrun.c
Warning: drivers/cpufreq/longrun.c:21 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst
* longrun_{low,high}_freq is needed for the conversion of cpufreq kHz
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Suggested-by: Zhongqiu Han <zhongqiu.han@oss.qualcomm.com>
Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org>
Reviewed-by: Zhongqiu Han <zhongqiu.han@oss.qualcomm.com>
---
[v2]
Fix Suggested-by-tag
Add Reviewed-by Zhongqiu Han
Add Fixes-tag
[v1]
https://lore.kernel.org/all/20261019182946.1450406-2-manuelebnerli@mailbox.org/
drivers/cpufreq/longrun.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/cpufreq/longrun.c b/drivers/cpufreq/longrun.c
index 7d4146d6c..c1df9014a 100644
--- a/drivers/cpufreq/longrun.c
+++ b/drivers/cpufreq/longrun.c
@@ -18,7 +18,7 @@
static struct cpufreq_driver longrun_driver;
-/**
+/*
* longrun_{low,high}_freq is needed for the conversion of cpufreq kHz
* values into per cent values. In TMTA microcode, the following is valid:
* performance_pctg = (current_freq - low_freq)/(high_freq - low_freq)
--
2.55.0
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH v2] cpufreq: longrun: fix kernel-doc warning
2026-10-20 7:19 [PATCH v2] cpufreq: longrun: fix kernel-doc warning Manuel Ebner
@ 2026-10-21 3:56 ` Viresh Kumar
0 siblings, 0 replies; 2+ messages in thread
From: Viresh Kumar @ 2026-10-21 3:56 UTC (permalink / raw)
To: Manuel Ebner; +Cc: Rafael J. Wysocki, Zhongqiu Han, linux-pm, linux-kernel
On 20-10-26, 09:19, Manuel Ebner wrote:
> Replace kernel-doc comment with normal multi-line comment thereby fixing:
>
> $ ./scripts/kernel-doc -none drivers/cpufreq/longrun.c
> Warning: drivers/cpufreq/longrun.c:21 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst
> * longrun_{low,high}_freq is needed for the conversion of cpufreq kHz
>
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> Suggested-by: Zhongqiu Han <zhongqiu.han@oss.qualcomm.com>
> Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org>
> Reviewed-by: Zhongqiu Han <zhongqiu.han@oss.qualcomm.com>
Applied. Thanks.
--
viresh
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-21 3:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-20 7:19 [PATCH v2] cpufreq: longrun: fix kernel-doc warning Manuel Ebner
2026-10-21 3:56 ` Viresh Kumar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®