2020-06-20 09:03:06

by kernel test robot

[permalink] [raw]
Subject: xilinx_axienet_main.c:undefined reference to `devm_ioremap_resource'

Hi Brendan,

It's probably a bug fix that unveils the link errors.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 4333a9b0b67bb4e8bcd91bdd80da80b0ec151162
commit: 1af73a25e6e7d9f2f1e2a14259cc9ffce6d8f6d4 staging: exfat: fix multiple definition error of `rename_file'
date: 6 months ago
config: um-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
git checkout 1af73a25e6e7d9f2f1e2a14259cc9ffce6d8f6d4
# save the attached .config to linux build tree
make W=1 ARCH=um

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>

All errors (new ones prefixed by >>):

/usr/bin/ld: drivers/net/ethernet/xilinx/xilinx_axienet_main.o: in function `axienet_probe':
>> xilinx_axienet_main.c:(.text+0x1aa6): undefined reference to `devm_ioremap_resource'
>> /usr/bin/ld: xilinx_axienet_main.c:(.text+0x1d06): undefined reference to `devm_ioremap_resource'
/usr/bin/ld: xilinx_axienet_main.c:(.text+0x2001): undefined reference to `devm_ioremap_resource'
collect2: error: ld returned 1 exit status

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]


Attachments:
(No filename) (1.29 kB)
.config.gz (21.43 kB)
Download all attachments

2020-06-23 21:29:31

by Brendan Higgins

[permalink] [raw]
Subject: Re: xilinx_axienet_main.c:undefined reference to `devm_ioremap_resource'

On Sat, Jun 20, 2020 at 1:59 AM kernel test robot <[email protected]> wrote:
>
> Hi Brendan,
>
> It's probably a bug fix that unveils the link errors.
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 4333a9b0b67bb4e8bcd91bdd80da80b0ec151162
> commit: 1af73a25e6e7d9f2f1e2a14259cc9ffce6d8f6d4 staging: exfat: fix multiple definition error of `rename_file'
> date: 6 months ago
> config: um-allyesconfig (attached as .config)
> compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
> reproduce (this is a W=1 build):
> git checkout 1af73a25e6e7d9f2f1e2a14259cc9ffce6d8f6d4
> # save the attached .config to linux build tree
> make W=1 ARCH=um
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <[email protected]>
>
> All errors (new ones prefixed by >>):
>
> /usr/bin/ld: drivers/net/ethernet/xilinx/xilinx_axienet_main.o: in function `axienet_probe':
> >> xilinx_axienet_main.c:(.text+0x1aa6): undefined reference to `devm_ioremap_resource'
> >> /usr/bin/ld: xilinx_axienet_main.c:(.text+0x1d06): undefined reference to `devm_ioremap_resource'
> /usr/bin/ld: xilinx_axienet_main.c:(.text+0x2001): undefined reference to `devm_ioremap_resource'
> collect2: error: ld returned 1 exit status

I posted a fix for this months ago:

https://patchwork.ozlabs.org/project/linux-um/patch/[email protected]/

I thought it got picked up by the maintainer.

2020-06-24 06:41:02

by Michal Simek

[permalink] [raw]
Subject: Re: xilinx_axienet_main.c:undefined reference to `devm_ioremap_resource'



On 23. 06. 20 23:27, Brendan Higgins wrote:
> On Sat, Jun 20, 2020 at 1:59 AM kernel test robot <[email protected]> wrote:
>>
>> Hi Brendan,
>>
>> It's probably a bug fix that unveils the link errors.
>>
>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
>> head: 4333a9b0b67bb4e8bcd91bdd80da80b0ec151162
>> commit: 1af73a25e6e7d9f2f1e2a14259cc9ffce6d8f6d4 staging: exfat: fix multiple definition error of `rename_file'
>> date: 6 months ago
>> config: um-allyesconfig (attached as .config)
>> compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
>> reproduce (this is a W=1 build):
>> git checkout 1af73a25e6e7d9f2f1e2a14259cc9ffce6d8f6d4
>> # save the attached .config to linux build tree
>> make W=1 ARCH=um
>>
>> If you fix the issue, kindly add following tag as appropriate
>> Reported-by: kernel test robot <[email protected]>
>>
>> All errors (new ones prefixed by >>):
>>
>> /usr/bin/ld: drivers/net/ethernet/xilinx/xilinx_axienet_main.o: in function `axienet_probe':
>>>> xilinx_axienet_main.c:(.text+0x1aa6): undefined reference to `devm_ioremap_resource'
>>>> /usr/bin/ld: xilinx_axienet_main.c:(.text+0x1d06): undefined reference to `devm_ioremap_resource'
>> /usr/bin/ld: xilinx_axienet_main.c:(.text+0x2001): undefined reference to `devm_ioremap_resource'
>> collect2: error: ld returned 1 exit status
>
> I posted a fix for this months ago:
>
> https://patchwork.ozlabs.org/project/linux-um/patch/[email protected]/
>
> I thought it got picked up by the maintainer.
>

Can you please send it again?

Thanks,
Michal