From: Randy Dunlap <rdunlap@infradead.org>
To: kbuild test robot <lkp@intel.com>,
Andrew Morton <akpm@linux-foundation.org>
Cc: kbuild-all@01.org,
Linux Memory Management List <linux-mm@kvack.org>,
Lu Shuaibing <shuaibinglu@126.com>,
Johannes Weiner <hannes@cmpxchg.org>
Subject: Re: [mmotm:master 236/260] sdhci-of-aspeed.c:undefined reference to `of_platform_device_create'
Date: Mon, 30 Sep 2019 16:28:01 -0700 [thread overview]
Message-ID: <83b55462-4da3-f420-8e01-0188cfd985f0@infradead.org> (raw)
In-Reply-To: <201909291514.GrECszJZ%lkp@intel.com>
On 9/29/19 12:35 AM, kbuild test robot wrote:
> Hi Andrew,
>
> It's probably a bug fix that unveils the link errors.
>
> tree: git://git.cmpxchg.org/linux-mmotm.git master
> head: 89331b857195aa00660fb19f1383924e95f7709e
> commit: d9cc9c2bd830a180cc8ac762a739fcfd3fc6c330 [236/260] linux-next-git-rejects
> config: sparc-allyesconfig (attached as .config)
> compiler: sparc64-linux-gcc (GCC) 7.4.0
> reproduce:
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout d9cc9c2bd830a180cc8ac762a739fcfd3fc6c330
> # save the attached .config to linux build tree
> GCC_VERSION=7.4.0 make.cross ARCH=sparc
>
> If you fix the issue, kindly add following tag
> Reported-by: kbuild test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>):
>
> `.exit.data' referenced in section `.exit.text' of drivers/tty/n_hdlc.o: defined in discarded section `.exit.data' of drivers/tty/n_hdlc.o
> `.exit.data' referenced in section `.exit.text' of drivers/tty/n_hdlc.o: defined in discarded section `.exit.data' of drivers/tty/n_hdlc.o
> `.exit.data' referenced in section `.exit.text' of drivers/tty/n_hdlc.o: defined in discarded section `.exit.data' of drivers/tty/n_hdlc.o
> `.exit.data' referenced in section `.exit.text' of drivers/tty/n_hdlc.o: defined in discarded section `.exit.data' of drivers/tty/n_hdlc.o
> drivers/mmc/host/sdhci-of-aspeed.o: In function `aspeed_sdc_probe':
>>> sdhci-of-aspeed.c:(.text+0xf8): undefined reference to `of_platform_device_create'
I don't see how this last build error could happen with
mmotm-2019-09-25-18-10 (latest ATM) since it contains this patch:
commit 72976643aef55a2a3eec85e5342a3c3608f66e64
Author: Andrew Jeffery <andrew@aj.id.au>
Date: Wed Sep 4 11:51:20 2019 +0930
mmc: sdhci-of-aspeed: Depend on CONFIG_OF_ADDRESS
Resolves the following build error reported by the 0-day bot:
ERROR: "of_platform_device_create" [drivers/mmc/host/sdhci-of-aspeed.ko] undefined!
SPARC does not set CONFIG_OF_ADDRESS so the symbol is missing. Depend on
CONFIG_OF_ADDRESS to ensure the driver is only built for supported
configurations.
Fixes: 2d28dbe042f4 ("mmc: sdhci-of-aspeed: Add support for the ASPEED SD controller")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
I cannot reproduce this problem with mmotm latest.
--
~Randy
next prev parent reply other threads:[~2019-09-30 23:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-29 7:35 [mmotm:master 236/260] sdhci-of-aspeed.c:undefined reference to `of_platform_device_create' kbuild test robot
2019-09-30 23:28 ` Randy Dunlap [this message]
2019-10-09 6:37 ` [kbuild-all] " 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=83b55462-4da3-f420-8e01-0188cfd985f0@infradead.org \
--to=rdunlap@infradead.org \
--cc=akpm@linux-foundation.org \
--cc=hannes@cmpxchg.org \
--cc=kbuild-all@01.org \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
--cc=shuaibinglu@126.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).