linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 1194/13432] denali_dt.c:undefined reference to `devm_platform_ioremap_resource_byname'
@ 2021-11-08  5:53 kernel test robot
  2021-11-09 10:30 ` Miquel Raynal
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2021-11-08  5:53 UTC (permalink / raw)
  To: Cai Huoqing; +Cc: kbuild-all, Linux Memory Management List, Miquel Raynal

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   e844ee04dee0cf1b6d97183c12266c7726d73636
commit: 5f14a8ca1b493a3c633ff549fb7d494887d7804a [1194/13432] mtd: rawnand: denali: Make use of the helper function devm_platform_ioremap_resource_byname()
config: s390-randconfig-c004-20211101 (attached as .config)
compiler: s390-linux-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=5f14a8ca1b493a3c633ff549fb7d494887d7804a
        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 5f14a8ca1b493a3c633ff549fb7d494887d7804a
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=s390 SHELL=/bin/bash

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

   s390-linux-ld: drivers/irqchip/irq-al-fic.o: in function `al_fic_init_dt':
   irq-al-fic.c:(.init.text+0x48): undefined reference to `of_iomap'
   s390-linux-ld: irq-al-fic.c:(.init.text+0x280): undefined reference to `iounmap'
   s390-linux-ld: drivers/char/xillybus/xillybus_of.o: in function `xilly_drv_probe':
   xillybus_of.c:(.text+0x13c): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: drivers/mtd/nand/raw/denali_dt.o: in function `denali_dt_probe':
>> denali_dt.c:(.text+0x140): undefined reference to `devm_platform_ioremap_resource_byname'
>> s390-linux-ld: denali_dt.c:(.text+0x162): undefined reference to `devm_platform_ioremap_resource_byname'
   s390-linux-ld: drivers/pcmcia/cistpl.o: in function `set_cis_map':
   cistpl.c:(.text+0x230): undefined reference to `iounmap'
   s390-linux-ld: cistpl.c:(.text+0x242): undefined reference to `ioremap'
   s390-linux-ld: cistpl.c:(.text+0x2a2): undefined reference to `ioremap'
   s390-linux-ld: cistpl.c:(.text+0x2bc): undefined reference to `iounmap'
   s390-linux-ld: drivers/pcmcia/cistpl.o: in function `release_cis_mem':
   cistpl.c:(.text+0xd72): undefined reference to `iounmap'
   s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_init':
   timer-of.c:(.init.text+0x96): undefined reference to `of_iomap'
   s390-linux-ld: timer-of.c:(.init.text+0x34e): undefined reference to `iounmap'
   s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_cleanup':
   timer-of.c:(.init.text+0x3ec): undefined reference to `iounmap'
   s390-linux-ld: drivers/clocksource/timer-microchip-pit64b.o: in function `mchp_pit64b_dt_init_timer':
   timer-microchip-pit64b.c:(.init.text+0xda): undefined reference to `of_iomap'
   s390-linux-ld: timer-microchip-pit64b.c:(.init.text+0x4e2): undefined reference to `iounmap'

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

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

* Re: [linux-next:master 1194/13432] denali_dt.c:undefined reference to `devm_platform_ioremap_resource_byname'
  2021-11-08  5:53 [linux-next:master 1194/13432] denali_dt.c:undefined reference to `devm_platform_ioremap_resource_byname' kernel test robot
@ 2021-11-09 10:30 ` Miquel Raynal
  2021-11-09 13:02   ` Cai Huoqing
  0 siblings, 1 reply; 3+ messages in thread
From: Miquel Raynal @ 2021-11-09 10:30 UTC (permalink / raw)
  To: Cai Huoqing; +Cc: kernel test robot, kbuild-all, Linux Memory Management List

Hi Cai,

lkp@intel.com wrote on Mon, 8 Nov 2021 13:53:16 +0800:

> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   e844ee04dee0cf1b6d97183c12266c7726d73636
> commit: 5f14a8ca1b493a3c633ff549fb7d494887d7804a [1194/13432] mtd: rawnand: denali: Make use of the helper function devm_platform_ioremap_resource_byname()
> config: s390-randconfig-c004-20211101 (attached as .config)
> compiler: s390-linux-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=5f14a8ca1b493a3c633ff549fb7d494887d7804a
>         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 5f14a8ca1b493a3c633ff549fb7d494887d7804a
>         # save the attached .config to linux build tree
>         mkdir build_dir
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=s390 SHELL=/bin/bash
> 
> 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 >>):
> 
>    s390-linux-ld: drivers/irqchip/irq-al-fic.o: in function `al_fic_init_dt':
>    irq-al-fic.c:(.init.text+0x48): undefined reference to `of_iomap'
>    s390-linux-ld: irq-al-fic.c:(.init.text+0x280): undefined reference to `iounmap'
>    s390-linux-ld: drivers/char/xillybus/xillybus_of.o: in function `xilly_drv_probe':
>    xillybus_of.c:(.text+0x13c): undefined reference to `devm_platform_ioremap_resource'
>    s390-linux-ld: drivers/mtd/nand/raw/denali_dt.o: in function `denali_dt_probe':
> >> denali_dt.c:(.text+0x140): undefined reference to `devm_platform_ioremap_resource_byname'
> >> s390-linux-ld: denali_dt.c:(.text+0x162): undefined reference to `devm_platform_ioremap_resource_byname'  

Can you please look into it?

>    s390-linux-ld: drivers/pcmcia/cistpl.o: in function `set_cis_map':
>    cistpl.c:(.text+0x230): undefined reference to `iounmap'
>    s390-linux-ld: cistpl.c:(.text+0x242): undefined reference to `ioremap'
>    s390-linux-ld: cistpl.c:(.text+0x2a2): undefined reference to `ioremap'
>    s390-linux-ld: cistpl.c:(.text+0x2bc): undefined reference to `iounmap'
>    s390-linux-ld: drivers/pcmcia/cistpl.o: in function `release_cis_mem':
>    cistpl.c:(.text+0xd72): undefined reference to `iounmap'
>    s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_init':
>    timer-of.c:(.init.text+0x96): undefined reference to `of_iomap'
>    s390-linux-ld: timer-of.c:(.init.text+0x34e): undefined reference to `iounmap'
>    s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_cleanup':
>    timer-of.c:(.init.text+0x3ec): undefined reference to `iounmap'
>    s390-linux-ld: drivers/clocksource/timer-microchip-pit64b.o: in function `mchp_pit64b_dt_init_timer':
>    timer-microchip-pit64b.c:(.init.text+0xda): undefined reference to `of_iomap'
>    s390-linux-ld: timer-microchip-pit64b.c:(.init.text+0x4e2): undefined reference to `iounmap'
> 
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Thanks,
Miquèl


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

* Re: [linux-next:master 1194/13432] denali_dt.c:undefined reference to `devm_platform_ioremap_resource_byname'
  2021-11-09 10:30 ` Miquel Raynal
@ 2021-11-09 13:02   ` Cai Huoqing
  0 siblings, 0 replies; 3+ messages in thread
From: Cai Huoqing @ 2021-11-09 13:02 UTC (permalink / raw)
  To: Miquel Raynal; +Cc: kernel test robot, kbuild-all, Linux Memory Management List

On 09 11月 21 11:30:56, Miquel Raynal wrote:
> Hi Cai,
> 
> lkp@intel.com wrote on Mon, 8 Nov 2021 13:53:16 +0800:
> 
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> > head:   e844ee04dee0cf1b6d97183c12266c7726d73636
> > commit: 5f14a8ca1b493a3c633ff549fb7d494887d7804a [1194/13432] mtd: rawnand: denali: Make use of the helper function devm_platform_ioremap_resource_byname()
> > config: s390-randconfig-c004-20211101 (attached as .config)
> > compiler: s390-linux-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=5f14a8ca1b493a3c633ff549fb7d494887d7804a
> >         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 5f14a8ca1b493a3c633ff549fb7d494887d7804a
> >         # save the attached .config to linux build tree
> >         mkdir build_dir
> >         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=s390 SHELL=/bin/bash
> > 
> > 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 >>):
> > 
> >    s390-linux-ld: drivers/irqchip/irq-al-fic.o: in function `al_fic_init_dt':
> >    irq-al-fic.c:(.init.text+0x48): undefined reference to `of_iomap'
> >    s390-linux-ld: irq-al-fic.c:(.init.text+0x280): undefined reference to `iounmap'
> >    s390-linux-ld: drivers/char/xillybus/xillybus_of.o: in function `xilly_drv_probe':
> >    xillybus_of.c:(.text+0x13c): undefined reference to `devm_platform_ioremap_resource'
> >    s390-linux-ld: drivers/mtd/nand/raw/denali_dt.o: in function `denali_dt_probe':
> > >> denali_dt.c:(.text+0x140): undefined reference to `devm_platform_ioremap_resource_byname'
> > >> s390-linux-ld: denali_dt.c:(.text+0x162): undefined reference to `devm_platform_ioremap_resource_byname'  
> 
> Can you please look into it?
Hi, fix here
https://lore.kernel.org/all/20211109125457.213-1-caihuoqing@baidu.com/
but so many iomap related issue, S390 may not select HAS_IOMEM.
> 
> >    s390-linux-ld: drivers/pcmcia/cistpl.o: in function `set_cis_map':
> >    cistpl.c:(.text+0x230): undefined reference to `iounmap'
> >    s390-linux-ld: cistpl.c:(.text+0x242): undefined reference to `ioremap'
> >    s390-linux-ld: cistpl.c:(.text+0x2a2): undefined reference to `ioremap'
> >    s390-linux-ld: cistpl.c:(.text+0x2bc): undefined reference to `iounmap'
> >    s390-linux-ld: drivers/pcmcia/cistpl.o: in function `release_cis_mem':
> >    cistpl.c:(.text+0xd72): undefined reference to `iounmap'
> >    s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_init':
> >    timer-of.c:(.init.text+0x96): undefined reference to `of_iomap'
> >    s390-linux-ld: timer-of.c:(.init.text+0x34e): undefined reference to `iounmap'
> >    s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_cleanup':
> >    timer-of.c:(.init.text+0x3ec): undefined reference to `iounmap'
> >    s390-linux-ld: drivers/clocksource/timer-microchip-pit64b.o: in function `mchp_pit64b_dt_init_timer':
> >    timer-microchip-pit64b.c:(.init.text+0xda): undefined reference to `of_iomap'
> >    s390-linux-ld: timer-microchip-pit64b.c:(.init.text+0x4e2): undefined reference to `iounmap'
> > 
> > ---
> > 0-DAY CI Kernel Test Service, Intel Corporation
> > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
> 
> Thanks,
> Miquèl


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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-08  5:53 [linux-next:master 1194/13432] denali_dt.c:undefined reference to `devm_platform_ioremap_resource_byname' kernel test robot
2021-11-09 10:30 ` Miquel Raynal
2021-11-09 13:02   ` Cai Huoqing

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