From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.3 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D95F5C35280 for ; Mon, 30 Sep 2019 23:28:13 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 8121E20815 for ; Mon, 30 Sep 2019 23:28:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="CYRkxpLu" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8121E20815 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id DCAA96B0005; Mon, 30 Sep 2019 19:28:12 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D7AF26B0006; Mon, 30 Sep 2019 19:28:12 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C6AC36B0007; Mon, 30 Sep 2019 19:28:12 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0079.hostedemail.com [216.40.44.79]) by kanga.kvack.org (Postfix) with ESMTP id A74E36B0005 for ; Mon, 30 Sep 2019 19:28:12 -0400 (EDT) Received: from smtpin25.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with SMTP id 28345824CA38 for ; Mon, 30 Sep 2019 23:28:12 +0000 (UTC) X-FDA: 75993177624.25.bit26_d3aa9b8d7b2c X-HE-Tag: bit26_d3aa9b8d7b2c X-Filterd-Recvd-Size: 4671 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by imf16.hostedemail.com (Postfix) with ESMTP for ; Mon, 30 Sep 2019 23:28:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=6kWZm59A6F5O6mOpxE8wn0hwaM83/Cciomipz9B3/64=; b=CYRkxpLuln3MB82fM8BdWTa2t IT7osz3kJ5w0ewl5WnFUjfhDsTzBomAWKRfbvnYe0MRenY0eU84ZsET8pgokEkpdgEJ+Pt+Egdky7 ke6K0HEtcyAYK7Un8s1GkXrLkEzQxhgf3KCFVTFIb55SiCsuEsCyAvvKcvp9P+orv0bXqvpeAVPeH zH/tNjlCr+7URjLtNM0/lAG1aJTvAi2AdmD50n+o3fXT6SJ0kKMcHWN9bWjCnrxRwv4n7kViXmVna IxhgPVWms1t9fUhdbQnsdt37GPV6JOve7FcRCGq0q5tOhqbltFXz1OztTIvMQzdZLcBWBLbUnpyYC uUwEaRQ4g==; Received: from [2601:1c0:6280:3f0::9a1f] by bombadil.infradead.org with esmtpsa (Exim 4.92.2 #3 (Red Hat Linux)) id 1iF55G-00057D-TV; Mon, 30 Sep 2019 23:28:02 +0000 Subject: Re: [mmotm:master 236/260] sdhci-of-aspeed.c:undefined reference to `of_platform_device_create' To: kbuild test robot , Andrew Morton Cc: kbuild-all@01.org, Linux Memory Management List , Lu Shuaibing , Johannes Weiner References: <201909291514.GrECszJZ%lkp@intel.com> From: Randy Dunlap Message-ID: <83b55462-4da3-f420-8e01-0188cfd985f0@infradead.org> Date: Mon, 30 Sep 2019 16:28:01 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <201909291514.GrECszJZ%lkp@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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 > > 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 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 Signed-off-by: Andrew Jeffery Signed-off-by: Ulf Hansson I cannot reproduce this problem with mmotm latest. -- ~Randy