linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: kernel test robot <lkp@intel.com>, Wang Hai <wanghai38@huawei.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: Re: s390-linux-ld: ll_temac_main.c:undefined reference to `devm_platform_ioremap_resource_byname'
Date: Mon, 1 Feb 2021 14:38:48 -0800	[thread overview]
Message-ID: <ac0c1ba8-d7c7-1868-db25-ccf063effec8@infradead.org> (raw)
In-Reply-To: <202102010812.qthaghhK-lkp@intel.com>

On 1/31/21 4:06 PM, kernel test robot wrote:
> Hi Wang,
> 
> FYI, the error/warning still remains.
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   1048ba83fb1c00cd24172e23e8263972f6b5d9ac
> commit: bd69058f50d5ffa659423bcfa6fe6280ce9c760a net: ll_temac: Use devm_platform_ioremap_resource_byname()
> date:   6 months ago
> config: s390-randconfig-r034-20210201 (attached as .config)

Hi robot,

Instead of hit & miss with s390 randconfigs, you could do what I did:
(all for arch/s390/):

$ make allmodconfig
$ scripts/config -d PCI  ## this also disables HAS_IOMEM
$ make oldconfig
$ make all

The latter gives a full list of drivers etc. that use iomemp/ioremap 
etc. as well as dev_io* variants instead of just a few random ones.


> All errors (new ones prefixed by >>):
> 
>     s390-linux-ld: drivers/net/ethernet/xilinx/ll_temac_main.o: in function `temac_probe':
>     ll_temac_main.c:(.text+0x39b6): undefined reference to `devm_platform_ioremap_resource_byname'
>>> s390-linux-ld: ll_temac_main.c:(.text+0x3a4c): undefined reference to `devm_platform_ioremap_resource_byname'
>     s390-linux-ld: ll_temac_main.c:(.text+0x3bce): undefined reference to `devm_ioremap'
>     s390-linux-ld: drivers/net/ethernet/xilinx/xilinx_axienet_main.o: in function `axienet_probe':
>     xilinx_axienet_main.c:(.text+0x844): undefined reference to `devm_ioremap_resource'


  reply	other threads:[~2021-02-01 22:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-01  0:06 s390-linux-ld: ll_temac_main.c:undefined reference to `devm_platform_ioremap_resource_byname' kernel test robot
2021-02-01 22:38 ` Randy Dunlap [this message]
2021-02-02  5:09   ` [kbuild-all] " Rong Chen
2021-02-02  5:22     ` Randy Dunlap
2021-02-02  9:20       ` Rong Chen

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=ac0c1ba8-d7c7-1868-db25-ccf063effec8@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=wanghai38@huawei.com \
    /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;
as well as URLs for NNTP newsgroup(s).