From: kernel test robot <lkp@intel.com>
To: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: [jic23-iio:pm_guards 53/89] drivers/iio/adc/palmas_gpadc.c:825:32: warning: unused variable 'palmas_pm_ops'
Date: Mon, 22 Nov 2021 17:48:53 +0800 [thread overview]
Message-ID: <202111221740.kNBgqzNl-lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2021-11-22 9:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202111221740.kNBgqzNl-lkp@intel.com \
--to=lkp@intel.com \
--cc=Jonathan.Cameron@huawei.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®