mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] cpufreq: longrun: fix kernel-doc warning
@ 2026-10-20  7:19 Manuel Ebner
  0 siblings, 0 replies; only message 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] only message in thread

only message in thread, other threads:[~2026-10-20  7:19 UTC | newest]

Thread overview: (only message) (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

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®