[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202508190743.lszMYiro-lkp@intel.com>
Date: Tue, 19 Aug 2025 07:46:58 +0800
From: kernel test robot <lkp@...el.com>
To: Krishna Chaitanya Chundru <krishna.chundru@....qualcomm.com>,
Viresh Kumar <vireshk@...nel.org>, Nishanth Menon <nm@...com>,
Stephen Boyd <sboyd@...nel.org>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Manivannan Sadhasivam <mani@...nel.org>,
Lorenzo Pieralisi <lpieralisi@...nel.org>,
Krzysztof WilczyĆski <kwilczynski@...nel.org>,
Rob Herring <robh@...nel.org>, Bjorn Helgaas <helgaas@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Conor Dooley <conor+dt@...nel.org>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pci@...r.kernel.org, linux-arm-msm@...r.kernel.org,
devicetree@...r.kernel.org,
Krishna Chaitanya Chundru <krishna.chundru@....qualcomm.com>
Subject: Re: [PATCH v2 1/3] PM/OPP: Support to match OPP based on both
frequency and level.
Hi Krishna,
kernel test robot noticed the following build warnings:
[auto build test WARNING on c17b750b3ad9f45f2b6f7e6f7f4679844244f0b9]
url: https://github.com/intel-lab-lkp/linux/commits/Krishna-Chaitanya-Chundru/PM-OPP-Support-to-match-OPP-based-on-both-frequency-and-level/20250818-162759
base: c17b750b3ad9f45f2b6f7e6f7f4679844244f0b9
patch link: https://lore.kernel.org/r/20250818-opp_pcie-v2-1-071524d98967%40oss.qualcomm.com
patch subject: [PATCH v2 1/3] PM/OPP: Support to match OPP based on both frequency and level.
config: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20250819/202508190743.lszMYiro-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250819/202508190743.lszMYiro-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202508190743.lszMYiro-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from kernel/sched/core.c:89:
In file included from kernel/sched/sched.h:31:
In file included from include/linux/cpufreq.h:18:
>> include/linux/pm_opp.h:297:20: warning: no previous prototype for function 'dev_pm_opp_find_freq_level_exact' [-Wmissing-prototypes]
297 | struct dev_pm_opp *dev_pm_opp_find_freq_level_exact(struct device *dev,
| ^
include/linux/pm_opp.h:297:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
297 | struct dev_pm_opp *dev_pm_opp_find_freq_level_exact(struct device *dev,
| ^
| static
kernel/sched/core.c:2445:20: warning: unused function 'rq_has_pinned_tasks' [-Wunused-function]
2445 | static inline bool rq_has_pinned_tasks(struct rq *rq)
| ^~~~~~~~~~~~~~~~~~~
kernel/sched/core.c:5795:20: warning: unused function 'sched_tick_stop' [-Wunused-function]
5795 | static inline void sched_tick_stop(int cpu) { }
| ^~~~~~~~~~~~~~~
kernel/sched/core.c:6514:20: warning: unused function 'sched_core_cpu_deactivate' [-Wunused-function]
6514 | static inline void sched_core_cpu_deactivate(unsigned int cpu) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~
kernel/sched/core.c:6515:20: warning: unused function 'sched_core_cpu_dying' [-Wunused-function]
6515 | static inline void sched_core_cpu_dying(unsigned int cpu) {}
| ^~~~~~~~~~~~~~~~~~~~
kernel/sched/core.c:8305:20: warning: unused function 'balance_hotplug_wait' [-Wunused-function]
8305 | static inline void balance_hotplug_wait(void)
| ^~~~~~~~~~~~~~~~~~~~
6 warnings generated.
--
In file included from kernel/sched/fair.c:57:
In file included from kernel/sched/sched.h:31:
In file included from include/linux/cpufreq.h:18:
>> include/linux/pm_opp.h:297:20: warning: no previous prototype for function 'dev_pm_opp_find_freq_level_exact' [-Wmissing-prototypes]
297 | struct dev_pm_opp *dev_pm_opp_find_freq_level_exact(struct device *dev,
| ^
include/linux/pm_opp.h:297:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
297 | struct dev_pm_opp *dev_pm_opp_find_freq_level_exact(struct device *dev,
| ^
| static
kernel/sched/fair.c:482:20: warning: unused function 'list_del_leaf_cfs_rq' [-Wunused-function]
482 | static inline void list_del_leaf_cfs_rq(struct cfs_rq *cfs_rq)
| ^~~~~~~~~~~~~~~~~~~~
kernel/sched/fair.c:503:19: warning: unused function 'tg_is_idle' [-Wunused-function]
503 | static inline int tg_is_idle(struct task_group *tg)
| ^~~~~~~~~~
kernel/sched/fair.c:3997:20: warning: unused function 'load_avg_is_decayed' [-Wunused-function]
3997 | static inline bool load_avg_is_decayed(struct sched_avg *sa)
| ^~~~~~~~~~~~~~~~~~~
kernel/sched/fair.c:6640:20: warning: unused function 'sync_throttle' [-Wunused-function]
6640 | static inline void sync_throttle(struct task_group *tg, int cpu) {}
| ^~~~~~~~~~~~~
kernel/sched/fair.c:6664:37: warning: unused function 'tg_cfs_bandwidth' [-Wunused-function]
6664 | static inline struct cfs_bandwidth *tg_cfs_bandwidth(struct task_group *tg)
| ^~~~~~~~~~~~~~~~
kernel/sched/fair.c:6668:20: warning: unused function 'destroy_cfs_bandwidth' [-Wunused-function]
6668 | static inline void destroy_cfs_bandwidth(struct cfs_bandwidth *cfs_b) {}
| ^~~~~~~~~~~~~~~~~~~~~
kernel/sched/fair.c:9991:20: warning: unused function 'check_misfit_status' [-Wunused-function]
9991 | static inline bool check_misfit_status(struct rq *rq)
| ^~~~~~~~~~~~~~~~~~~
8 warnings generated.
--
In file included from kernel/sched/build_policy.c:41:
In file included from kernel/sched/sched.h:31:
In file included from include/linux/cpufreq.h:18:
>> include/linux/pm_opp.h:297:20: warning: no previous prototype for function 'dev_pm_opp_find_freq_level_exact' [-Wmissing-prototypes]
297 | struct dev_pm_opp *dev_pm_opp_find_freq_level_exact(struct device *dev,
| ^
include/linux/pm_opp.h:297:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
297 | struct dev_pm_opp *dev_pm_opp_find_freq_level_exact(struct device *dev,
| ^
| static
1 warning generated.
vim +/dev_pm_opp_find_freq_level_exact +297 include/linux/pm_opp.h
296
> 297 struct dev_pm_opp *dev_pm_opp_find_freq_level_exact(struct device *dev,
298 unsigned long freq,
299 unsigned int level,
300 bool available)
301 {
302 return ERR_PTR(-EOPNOTSUPP);
303 }
304
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists