From: kernel test robot <lkp@intel.com>
To: Claudiu Beznea <claudiu.beznea@microchip.com>
Cc: kbuild-all@lists.01.org,
Linux Memory Management List <linux-mm@kvack.org>,
Vinod Koul <vkoul@kernel.org>,
Tudor Ambarus <tudor.ambarus@microchip.com>
Subject: [linux-next:master 7498/13432] drivers/dma/at_xdmac.c:2210:32: error: 'atmel_xdmac_dev_pm_ops' defined but not used
Date: Mon, 8 Nov 2021 19:16:44 +0800 [thread overview]
Message-ID: <202111081932.h0qWOd7k-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2507 bytes --]
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/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=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@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@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: 44478 bytes --]
next reply other threads:[~2021-11-08 11:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-08 11:16 kernel test robot [this message]
2021-11-08 11:40 ` Tudor.Ambarus
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=202111081932.h0qWOd7k-lkp@intel.com \
--to=lkp@intel.com \
--cc=claudiu.beznea@microchip.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.org \
--cc=tudor.ambarus@microchip.com \
--cc=vkoul@kernel.org \
/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