* [jic23-iio:pm_guards 53/89] drivers/iio/adc/palmas_gpadc.c:825:32: warning: unused variable 'palmas_pm_ops'
@ 2021-11-22 9:48 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-22 9:48 UTC (permalink / raw)
To: Jonathan Cameron; +Cc: llvm, kbuild-all, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2334 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git pm_guards
head: d931fdf9f398096d8ad63a552ada39758f92bf96
commit: 9507adc7eae91f8d1593c87d25a52cba634faafd [53/89] iio:adc:palmas_gpadc: Switch from CONFIG_PM guards to pm_ptr() / __maybe_unused
config: hexagon-randconfig-r005-20211122 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c133fb321f7ca6083ce15b6aa5bf89de6600e649)
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/jic23/iio.git/commit/?id=9507adc7eae91f8d1593c87d25a52cba634faafd
git remote add jic23-iio https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git
git fetch --no-tags jic23-iio pm_guards
git checkout 9507adc7eae91f8d1593c87d25a52cba634faafd
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=hexagon
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/iio/adc/palmas_gpadc.c:825:32: warning: unused variable 'palmas_pm_ops' [-Wunused-const-variable]
static const struct dev_pm_ops palmas_pm_ops = {
^
1 warning generated.
vim +/palmas_pm_ops +825 drivers/iio/adc/palmas_gpadc.c
e08e19c331fb24 H. Nikolaus Schaller 2015-10-16 824
e08e19c331fb24 H. Nikolaus Schaller 2015-10-16 @825 static const struct dev_pm_ops palmas_pm_ops = {
e08e19c331fb24 H. Nikolaus Schaller 2015-10-16 826 SET_SYSTEM_SLEEP_PM_OPS(palmas_gpadc_suspend,
e08e19c331fb24 H. Nikolaus Schaller 2015-10-16 827 palmas_gpadc_resume)
e08e19c331fb24 H. Nikolaus Schaller 2015-10-16 828 };
e08e19c331fb24 H. Nikolaus Schaller 2015-10-16 829
:::::: The code at line 825 was first introduced by commit
:::::: e08e19c331fb249e6dc86365ee80d16045c4aeb1 iio:adc: add iio driver for Palmas (twl6035/7) gpadc
:::::: TO: H. Nikolaus Schaller <hns@goldelico.com>
:::::: CC: Jonathan Cameron <jic23@kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 29463 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-22 9:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-22 9:48 [jic23-iio:pm_guards 53/89] drivers/iio/adc/palmas_gpadc.c:825:32: warning: unused variable 'palmas_pm_ops' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).