[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231104034033.14926-1-rdunlap@infradead.org>
Date: Fri, 3 Nov 2023 20:40:33 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: linux-kernel@...r.kernel.org
Cc: Randy Dunlap <rdunlap@...radead.org>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Kevin Hilman <khilman@...nel.org>,
Ulf Hansson <ulf.hansson@...aro.org>, linux-pm@...r.kernel.org
Subject: [PATCH] PM: domains: fix inappropriate use of kernel-doc
There is no mechanism for using kernel-doc notation on a data item
(only struct/union/enum definitions, functions, and function-like
macros), so convert the "/**" notation to C comment "/*" notation
to avoid a kernel-doc warning:
drivers/base/power/domain_governor.c:412: warning: cannot understand function prototype: 'struct dev_power_governor pm_domain_always_on_gov = '
Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
Cc: "Rafael J. Wysocki" <rafael@...nel.org>
Cc: Kevin Hilman <khilman@...nel.org>
Cc: Ulf Hansson <ulf.hansson@...aro.org>
Cc: linux-pm@...r.kernel.org
---
drivers/base/power/domain_governor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -- a/drivers/base/power/domain_governor.c b/drivers/base/power/domain_governor.c
--- a/drivers/base/power/domain_governor.c
+++ b/drivers/base/power/domain_governor.c
@@ -406,7 +406,7 @@ struct dev_power_governor simple_qos_gov
.power_down_ok = default_power_down_ok,
};
-/**
+/*
* pm_genpd_gov_always_on - A governor implementing an always-on policy
*/
struct dev_power_governor pm_domain_always_on_gov = {
Powered by blists - more mailing lists