linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 7498/13432] drivers/dma/at_xdmac.c:2210:32: error: 'atmel_xdmac_dev_pm_ops' defined but not used
@ 2021-11-08 11:16 kernel test robot
  2021-11-08 11:40 ` Tudor.Ambarus
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-11-08 11:16 UTC (permalink / raw)
  To: Claudiu Beznea
  Cc: kbuild-all, Linux Memory Management List, Vinod Koul, Tudor Ambarus

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-next:master 7498/13432] drivers/dma/at_xdmac.c:2210:32: error: 'atmel_xdmac_dev_pm_ops' defined but not used
  2021-11-08 11:16 [linux-next:master 7498/13432] drivers/dma/at_xdmac.c:2210:32: error: 'atmel_xdmac_dev_pm_ops' defined but not used kernel test robot
@ 2021-11-08 11:40 ` Tudor.Ambarus
  0 siblings, 0 replies; 2+ messages in thread
From: Tudor.Ambarus @ 2021-11-08 11:40 UTC (permalink / raw)
  To: lkp, Claudiu.Beznea; +Cc: kbuild-all, linux-mm, vkoul

On 11/8/21 1:16 PM, kernel test robot wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> 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
> 

This should be fixed by commit d191a9abc02f1f59bfb3b2349d30cb5534dc0fd9
from next-20211108.

Cheers,
ta


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-08 11:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-08 11:16 [linux-next:master 7498/13432] drivers/dma/at_xdmac.c:2210:32: error: 'atmel_xdmac_dev_pm_ops' defined but not used kernel test robot
2021-11-08 11:40 ` Tudor.Ambarus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox