lkml.org 
[lkml]   [2022]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectdrivers/base/power/domain.c:2894:34: warning: unused variable 'idle_state_match'
Hi Konrad,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1c23f9e627a7b412978b4e852793c5e3c3efc555
commit: 7d0221fb59125181a31ef3a561306c70fb238bc7 soc/qcom: Make QCOM_RPMPD select PM_GENERIC_DOMAINS/_OF
date: 7 weeks ago
config: x86_64-buildonly-randconfig-r004-20220822 (https://download.01.org/0day-ci/archive/20220822/202208221825.M4zoR8e6-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7d0221fb59125181a31ef3a561306c70fb238bc7
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 7d0221fb59125181a31ef3a561306c70fb238bc7
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/base/power/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/base/power/domain.c:2894:34: warning: unused variable 'idle_state_match' [-Wunused-const-variable]
static const struct of_device_id idle_state_match[] = {
^
1 warning generated.

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PM_GENERIC_DOMAINS_OF
Depends on [n]: PM_GENERIC_DOMAINS [=y] && OF [=n]
Selected by [m]:
- QCOM_RPMPD [=m] && QCOM_SMD_RPM [=y]


vim +/idle_state_match +2894 drivers/base/power/domain.c

5d6be70add65e3 Ulf Hansson 2018-06-29 2893
30f604283e05d3 Lina Iyer 2016-10-14 @2894 static const struct of_device_id idle_state_match[] = {
598da548ef7892 Lina Iyer 2016-11-03 2895 { .compatible = "domain-idle-state", },
30f604283e05d3 Lina Iyer 2016-10-14 2896 { }
30f604283e05d3 Lina Iyer 2016-10-14 2897 };
30f604283e05d3 Lina Iyer 2016-10-14 2898

:::::: The code at line 2894 was first introduced by commit
:::::: 30f604283e05d34cb10108c7ba017e5f4fc9d62c PM / Domains: Allow domain power states to be read from DT

:::::: TO: Lina Iyer <lina.iyer@linaro.org>
:::::: CC: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

--
0-DAY CI Kernel Test Service
https://01.org/lkp

\
 
 \ /
  Last update: 2022-08-22 12:33    [W:0.028 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site