[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202111221740.kNBgqzNl-lkp@intel.com>
Date: Mon, 22 Nov 2021 17:48:53 +0800
From: kernel test robot <lkp@...el.com>
To: Jonathan Cameron <Jonathan.Cameron@...wei.com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: [jic23-iio:pm_guards 53/89] drivers/iio/adc/palmas_gpadc.c:825:32:
warning: unused variable 'palmas_pm_ops'
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@...el.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@...delico.com>
:::::: CC: Jonathan Cameron <jic23@...nel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (29463 bytes)
Powered by blists - more mailing lists