tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: e844ee04dee0cf1b6d97183c12266c7726d73636
commit: 8e0c7e486014f8e924f5dc8f7a8719adb48f9d92 [7498/13432] dmaengine: at_xdmac: use
pm_ptr()
config: arm-buildonly-randconfig-r006-20211031 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0
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/next/linux-next.git/commi...
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=gcc-11.2.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Note: the linux-next/master HEAD e844ee04dee0cf1b6d97183c12266c7726d73636 builds fine.
It may have been fixed somewhere.
All errors (new ones prefixed by >>):
> drivers/dma/at_xdmac.c:2210:32: error:
'atmel_xdmac_dev_pm_ops' defined but not used [-Werror=unused-const-variable=]
2210 | static const struct dev_pm_ops atmel_xdmac_dev_pm_ops = {
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
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(a)atmel.com>
:::::: CC: Vinod Koul <vinod.koul(a)intel.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org