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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 76561C433F5 for ; Thu, 30 Dec 2021 19:07:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241766AbhL3THa (ORCPT ); Thu, 30 Dec 2021 14:07:30 -0500 Received: from mga14.intel.com ([192.55.52.115]:33423 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236868AbhL3TH3 (ORCPT ); Thu, 30 Dec 2021 14:07:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1640891249; x=1672427249; h=date:from:to:cc:subject:message-id:mime-version; bh=plzyb7P6LvkhTHaWFdb294o5NTiUFa5HwsZ4WXcuZcc=; b=hXEjB+lpYEclHw7dOiNOC+7+vFNHa67so1SXM/UfqCQOczEhj8D43RYA iRI9cBPy40QXhdc5QXXwfR+7AB1VFjOp0bTplVToldd5Uj7x6R5shLWzp UeTd1Ju4JQ52KpZdsMARWokpv8YfvM3PZTuilQsUyoFFx0BUhBvmXMdcA WvqXk29gkCu+XuwUkd4h7l6ceYYMWfhYzdPT/tRxmCqrT4omBndrFNVFK A9xCkeitnQJDNFk7F9rG/qOeyo5pLY0RKvy6VHVf75OHabBGtEJB0vatg pVKhzdAySJ6/HUDWZAy2Twlg5DcdzNBu8kq3nTQNxhcr5LP2l4UjXZ9VP Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10213"; a="241929596" X-IronPort-AV: E=Sophos;i="5.88,248,1635231600"; d="scan'208";a="241929596" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Dec 2021 11:07:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,248,1635231600"; d="scan'208";a="510979530" Received: from lkp-server01.sh.intel.com (HELO e357b3ef1427) ([10.239.97.150]) by orsmga007.jf.intel.com with ESMTP; 30 Dec 2021 11:07:28 -0800 Received: from kbuild by e357b3ef1427 with local (Exim 4.92) (envelope-from ) id 1n30lr-000AWB-CQ; Thu, 30 Dec 2021 19:07:27 +0000 Date: Fri, 31 Dec 2021 03:06:57 +0800 From: kernel test robot To: Herbert Xu Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: xillybus_of.c:undefined reference to `devm_platform_ioremap_resource' Message-ID: <202112310309.OXZb8wIC-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Herbert, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: eec4df26e24e978e49ccf9bcf49ca0f2ccdaeffe commit: a1315dcb7b6a7d3a78df848eed5b331a4b3ec28a hwrng: ks-sa - Add dependency on IOMEM and OF date: 1 year, 1 month ago config: s390-randconfig-r044-20211230 (https://download.01.org/0day-ci/archive/20211231/202112310309.OXZb8wIC-lkp@intel.com/config) compiler: s390-linux-gcc (GCC) 11.2.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a1315dcb7b6a7d3a78df848eed5b331a4b3ec28a git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout a1315dcb7b6a7d3a78df848eed5b331a4b3ec28a # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=s390 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): s390-linux-ld: kernel/dma/coherent.o: in function `dma_init_coherent_memory': coherent.c:(.text+0x4d4): undefined reference to `memremap' s390-linux-ld: coherent.c:(.text+0x5ee): undefined reference to `memunmap' s390-linux-ld: kernel/dma/coherent.o: in function `dma_declare_coherent_memory': coherent.c:(.text+0x862): undefined reference to `memunmap' s390-linux-ld: drivers/irqchip/irq-imx-intmux.o: in function `imx_intmux_probe': irq-imx-intmux.c:(.text+0x3b8): undefined reference to `devm_platform_ioremap_resource' s390-linux-ld: drivers/phy/marvell/phy-mvebu-a3700-utmi.o: in function `mvebu_a3700_utmi_phy_probe': phy-mvebu-a3700-utmi.c:(.text+0x14a): undefined reference to `devm_platform_ioremap_resource' s390-linux-ld: drivers/clk/clk-fixed-mmio.o: in function `fixed_mmio_clk_setup': clk-fixed-mmio.c:(.text+0x86): undefined reference to `of_iomap' s390-linux-ld: clk-fixed-mmio.c:(.text+0xaa): undefined reference to `iounmap' s390-linux-ld: drivers/soc/fsl/dpaa2-console.o: in function `dpaa2_console_close': dpaa2-console.c:(.text+0x7c): undefined reference to `iounmap' s390-linux-ld: drivers/soc/fsl/dpaa2-console.o: in function `dpaa2_console_probe': dpaa2-console.c:(.text+0xda): undefined reference to `of_address_to_resource' s390-linux-ld: drivers/soc/fsl/dpaa2-console.o: in function `dpaa2_generic_console_open.constprop.0': dpaa2-console.c:(.text+0x20e): undefined reference to `ioremap' s390-linux-ld: dpaa2-console.c:(.text+0x25c): undefined reference to `iounmap' s390-linux-ld: dpaa2-console.c:(.text+0x284): undefined reference to `ioremap' s390-linux-ld: dpaa2-console.c:(.text+0x472): undefined reference to `iounmap' s390-linux-ld: drivers/char/hw_random/exynos-trng.o: in function `exynos_trng_probe': exynos-trng.c:(.text+0x398): undefined reference to `devm_platform_ioremap_resource' s390-linux-ld: drivers/char/hw_random/meson-rng.o: in function `meson_rng_probe': meson-rng.c:(.text+0xea): undefined reference to `devm_platform_ioremap_resource' s390-linux-ld: drivers/char/hw_random/mtk-rng.o: in function `mtk_rng_probe': mtk-rng.c:(.text+0x332): undefined reference to `devm_platform_ioremap_resource' s390-linux-ld: drivers/char/hw_random/npcm-rng.o: in function `npcm_rng_probe': npcm-rng.c:(.text+0x2c2): undefined reference to `devm_platform_ioremap_resource' s390-linux-ld: drivers/char/xillybus/xillybus_of.o: in function `xilly_drv_probe': >> xillybus_of.c:(.text+0x1ec): undefined reference to `devm_platform_ioremap_resource' s390-linux-ld: drivers/mfd/sun6i-prcm.o: in function `sun6i_prcm_probe': sun6i-prcm.c:(.text+0xae): undefined reference to `mfd_add_devices' s390-linux-ld: drivers/watchdog/sirfsoc_wdt.o: in function `sirfsoc_wdt_probe': sirfsoc_wdt.c:(.text+0x19c): undefined reference to `devm_platform_ioremap_resource' s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_init': timer-of.c:(.init.text+0xce): undefined reference to `of_iomap' s390-linux-ld: timer-of.c:(.init.text+0x4ee): undefined reference to `iounmap' s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_cleanup': timer-of.c:(.init.text+0x5ca): undefined reference to `iounmap' s390-linux-ld: drivers/clocksource/timer-microchip-pit64b.o: in function `mchp_pit64b_dt_init_timer': timer-microchip-pit64b.c:(.init.text+0x154): undefined reference to `of_iomap' s390-linux-ld: timer-microchip-pit64b.c:(.init.text+0x66e): undefined reference to `iounmap' Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for MFD_SUN6I_PRCM Depends on HAS_IOMEM && (ARCH_SUNXI || COMPILE_TEST Selected by - CLK_SUNXI_PRCM_SUN6I && COMMON_CLK && CLK_SUNXI - CLK_SUNXI_PRCM_SUN8I && COMMON_CLK && CLK_SUNXI --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org