linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ERROR: "devm_platform_ioremap_resource" undefined!
@ 2021-03-24  5:58 kernel test robot
  2021-03-24 10:55 ` Andy Shevchenko
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-03-24  5:58 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: kbuild-all, linux-kernel, Vinod Koul

[-- Attachment #1: Type: text/plain, Size: 1353 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   7acac4b3196caee5e21fb5ea53f8bc124e6a16fc
commit: a9c56721d6ae99b22e983d0722e6b1b53a11dd59 dmaengine: dw: platform: Use devm_platform_ioremap_resource()
date:   1 year, 7 months ago
config: s390-randconfig-r013-20210324 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.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/torvalds/linux.git/commit/?id=a9c56721d6ae99b22e983d0722e6b1b53a11dd59
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout a9c56721d6ae99b22e983d0722e6b1b53a11dd59
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> ERROR: "devm_platform_ioremap_resource" [drivers/dma/dw/dw_dmac.ko] undefined!

---
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: 10468 bytes --]

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

* Re: ERROR: "devm_platform_ioremap_resource" undefined!
  2021-03-24  5:58 ERROR: "devm_platform_ioremap_resource" undefined! kernel test robot
@ 2021-03-24 10:55 ` Andy Shevchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2021-03-24 10:55 UTC (permalink / raw)
  To: kernel test robot; +Cc: kbuild-all, linux-kernel, Vinod Koul

On Wed, Mar 24, 2021 at 01:58:06PM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   7acac4b3196caee5e21fb5ea53f8bc124e6a16fc
> commit: a9c56721d6ae99b22e983d0722e6b1b53a11dd59 dmaengine: dw: platform: Use devm_platform_ioremap_resource()
> date:   1 year, 7 months ago
> config: s390-randconfig-r013-20210324 (attached as .config)
> compiler: s390-linux-gcc (GCC) 9.3.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/torvalds/linux.git/commit/?id=a9c56721d6ae99b22e983d0722e6b1b53a11dd59
>         git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>         git fetch --no-tags linus master
>         git checkout a9c56721d6ae99b22e983d0722e6b1b53a11dd59
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390 
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All errors (new ones prefixed by >>):
> 
> >> ERROR: "devm_platform_ioremap_resource" [drivers/dma/dw/dw_dmac.ko] undefined!

Because s390 does not have IOMEM (IIRC). I forgot how it's usually fixed.

Again IIRC it should be done somewhere in the generic files, otherwise we have
to have add 'depends on HAVE_IOMEM' everywhere.

Okay, seems it's not. Fine, I'll send a patch soon.

-- 
With Best Regards,
Andy Shevchenko



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

end of thread, other threads:[~2021-03-24 10:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-24  5:58 ERROR: "devm_platform_ioremap_resource" undefined! kernel test robot
2021-03-24 10:55 ` Andy Shevchenko

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).