mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/1] cpufreq: CPPC: Fix unused-function warning
@ 2022-05-30 10:04 Pierre Gondois
  2022-05-30 10:04 ` [PATCH -next v2 1/1] " Pierre Gondois
  0 siblings, 1 reply; 4+ messages in thread
From: Pierre Gondois @ 2022-05-30 10:04 UTC (permalink / raw)
  To: linux-kernel
  Cc: zhangshaokun, Ionela.Voinescu, Dietmar.Eggemann, Pierre Gondois,
	Rafael J. Wysocki, Viresh Kumar, Pierre Gondois, linux-pm

v2:
- Put the Energy Model related functions inside specific guards
  instead of using the '__maybe_unused' flag.

A warning was reported when the cppc_cpufreq driver is built
with CONFIG_ENERGY_MODEL=n at:
https://lore.kernel.org/all/626c99d3-edaf-4544-7e64-5b3653591086@hisilicon.com/

The patch should be applied on top of:
https://lore.kernel.org/all/20220521032438.2504155-1-zhengbin13@huawei.com/

Pierre Gondois (1):
  cpufreq: CPPC: Fix unused-function warning

 drivers/cpufreq/cppc_cpufreq.c | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-30 13:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-30 10:04 [PATCH v2 0/1] cpufreq: CPPC: Fix unused-function warning Pierre Gondois
2022-05-30 10:04 ` [PATCH -next v2 1/1] " Pierre Gondois
2022-05-30 11:55   ` Shaokun Zhang
2022-05-30 13:36     ` Rafael J. Wysocki

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®