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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1CFB9C433F5 for ; Tue, 9 Nov 2021 10:31:04 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 78EDA61107 for ; Tue, 9 Nov 2021 10:31:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 78EDA61107 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 19BF16B00B9; Tue, 9 Nov 2021 05:31:02 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 125456B00BC; Tue, 9 Nov 2021 05:31:02 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id F30016B00BF; Tue, 9 Nov 2021 05:31:01 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0220.hostedemail.com [216.40.44.220]) by kanga.kvack.org (Postfix) with ESMTP id E3D5D6B00B9 for ; Tue, 9 Nov 2021 05:31:01 -0500 (EST) Received: from smtpin24.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id A502A76E1C for ; Tue, 9 Nov 2021 10:31:01 +0000 (UTC) X-FDA: 78789023922.24.42B66A5 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by imf15.hostedemail.com (Postfix) with ESMTP id F2435D0020EA for ; Tue, 9 Nov 2021 10:30:47 +0000 (UTC) Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 5C7141BF20B; Tue, 9 Nov 2021 10:30:57 +0000 (UTC) Date: Tue, 9 Nov 2021 11:30:56 +0100 From: Miquel Raynal To: Cai Huoqing Cc: kernel test robot , kbuild-all@lists.01.org, Linux Memory Management List Subject: Re: [linux-next:master 1194/13432] denali_dt.c:undefined reference to `devm_platform_ioremap_resource_byname' Message-ID: <20211109113056.181b444e@xps13> In-Reply-To: <202111081308.Dxim8kDL-lkp@intel.com> References: <202111081308.Dxim8kDL-lkp@intel.com> Organization: Bootlin X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Authentication-Results: imf15.hostedemail.com; dkim=none; spf=pass (imf15.hostedemail.com: domain of miquel.raynal@bootlin.com designates 217.70.183.201 as permitted sender) smtp.mailfrom=miquel.raynal@bootlin.com; dmarc=none X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: F2435D0020EA X-Stat-Signature: in1wwcbgoxmphqpdsap5knq5ks9wbxnm X-HE-Tag: 1636453847-800706 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: 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.g= it master > head: e844ee04dee0cf1b6d97183c12266c7726d73636 > commit: 5f14a8ca1b493a3c633ff549fb7d494887d7804a [1194/13432] mtd: rawnan= d: denali: Make use of the helper function devm_platform_ioremap_resource_b= yname() > config: s390-randconfig-c004-20211101 (attached as .config) > compiler: s390-linux-gcc (GCC) 11.2.0 > reproduce (this is a W=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/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=3D5f14a8ca1b493a3c633ff549fb7d494887d7804a > git remote add linux-next https://git.kernel.org/pub/scm/linux/ke= rnel/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=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cro= ss O=3Dbuild_dir ARCH=3Ds390 SHELL=3D/bin/bash >=20 > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot >=20 > All errors (new ones prefixed by >>): >=20 > 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_ior= emap_resource' > s390-linux-ld: drivers/mtd/nand/raw/denali_dt.o: in function `denali_d= t_probe': > >> denali_dt.c:(.text+0x140): undefined reference to `devm_platform_iorem= ap_resource_byname' > >> s390-linux-ld: denali_dt.c:(.text+0x162): undefined reference to `devm= _platform_ioremap_resource_byname' =20 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_i= nit': > 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_c= leanup': > timer-of.c:(.init.text+0x3ec): undefined reference to `iounmap' > s390-linux-ld: drivers/clocksource/timer-microchip-pit64b.o: in functi= on `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' >=20 > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Thanks, Miqu=C3=A8l