tree:
https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-mergewindow
head: dab4b0e8c9a5a4edc406e6fc24030afeb348383d
commit: dab4b0e8c9a5a4edc406e6fc24030afeb348383d [7/7] i2c: at91: remove #define
CONFIG_PM
config: riscv-randconfig-r022-20210810 (attached as .config)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
d39ebdae674c8efc84ebe8dc32716ec353220530)
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/wsa/linux.git/commit/?id=...
git remote add wsa
https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git
git fetch --no-tags wsa i2c/for-mergewindow
git checkout dab4b0e8c9a5a4edc406e6fc24030afeb348383d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> drivers/i2c/busses/i2c-at91-core.c:336:32: warning: unused
variable 'at91_twi_pm' [-Wunused-const-variable]
static const struct
dev_pm_ops at91_twi_pm = {
^
1 warning generated.
vim +/at91_twi_pm +336 drivers/i2c/busses/i2c-at91-core.c
ad7d142f8951ce Juergen Fitschen 2019-02-22 335
ad7d142f8951ce Juergen Fitschen 2019-02-22 @336 static const struct dev_pm_ops
at91_twi_pm = {
ad7d142f8951ce Juergen Fitschen 2019-02-22 337 .suspend_noirq =
at91_twi_suspend_noirq,
ad7d142f8951ce Juergen Fitschen 2019-02-22 338 .resume_noirq = at91_twi_resume_noirq,
ad7d142f8951ce Juergen Fitschen 2019-02-22 339 .runtime_suspend =
at91_twi_runtime_suspend,
ad7d142f8951ce Juergen Fitschen 2019-02-22 340 .runtime_resume =
at91_twi_runtime_resume,
ad7d142f8951ce Juergen Fitschen 2019-02-22 341 };
ad7d142f8951ce Juergen Fitschen 2019-02-22 342
:::::: The code at line 336 was first introduced by commit
:::::: ad7d142f8951ce00e0366ba54bfaf8ab086eb4b9 i2c: at91: split driver into core and
master file
:::::: TO: Juergen Fitschen <me(a)jue.yt>
:::::: CC: Wolfram Sang <wsa(a)the-dreams.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org