* [linux-next:master 7805/10748] drivers/dma/at_xdmac.c:2210:32: warning: unused variable 'atmel_xdmac_dev_pm_ops'
@ 2021-10-25 5:13 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-10-25 5:13 UTC (permalink / raw)
To: Claudiu Beznea
Cc: llvm, kbuild-all, Linux Memory Management List, Vinod Koul,
Tudor Ambarus
[-- Attachment #1: Type: text/plain, Size: 2480 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: cf6c9d12750cf6f3f6aeffcd0bdb36b1ac993f44
commit: 8e0c7e486014f8e924f5dc8f7a8719adb48f9d92 [7805/10748] dmaengine: at_xdmac: use pm_ptr()
config: arm-randconfig-r016-20211025 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project a461fa64bb37cffd73f683c74f6b0780379fc2ca)
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
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=8e0c7e486014f8e924f5dc8f7a8719adb48f9d92
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 8e0c7e486014f8e924f5dc8f7a8719adb48f9d92
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm
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/dma/at_xdmac.c:2210:32: warning: unused variable 'atmel_xdmac_dev_pm_ops' [-Wunused-const-variable]
static const struct dev_pm_ops atmel_xdmac_dev_pm_ops = {
^
1 warning generated.
vim +/atmel_xdmac_dev_pm_ops +2210 drivers/dma/at_xdmac.c
e1f7c9eee70730 Ludovic Desroches 2014-10-22 2209
e1f7c9eee70730 Ludovic Desroches 2014-10-22 @2210 static const struct dev_pm_ops atmel_xdmac_dev_pm_ops = {
e1f7c9eee70730 Ludovic Desroches 2014-10-22 2211 .prepare = atmel_xdmac_prepare,
e1f7c9eee70730 Ludovic Desroches 2014-10-22 2212 SET_LATE_SYSTEM_SLEEP_PM_OPS(atmel_xdmac_suspend, atmel_xdmac_resume)
e1f7c9eee70730 Ludovic Desroches 2014-10-22 2213 };
e1f7c9eee70730 Ludovic Desroches 2014-10-22 2214
:::::: The code at line 2210 was first introduced by commit
:::::: e1f7c9eee70730d7e6ec77f7ecc76f936e262cf0 dmaengine: at_xdmac: creation of the atmel eXtended DMA Controller driver
:::::: TO: Ludovic Desroches <ludovic.desroches@atmel.com>
:::::: CC: Vinod Koul <vinod.koul@intel.com>
---
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: 30119 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-25 5:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-25 5:13 [linux-next:master 7805/10748] drivers/dma/at_xdmac.c:2210:32: warning: unused variable 'atmel_xdmac_dev_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).