Content-Type: multipart/mixed; boundary="===============3991259259951196055==" MIME-Version: 1.0 From: Chen, Rong A To: kbuild-all@lists.01.org Subject: Re: [PATCH v2 1/3] drivers/clocksource/timer-of: Remove __init markings Date: Thu, 12 Aug 2021 15:58:58 +0800 Message-ID: <257619cf-5381-3f8b-3f80-2308e2a2cb85@intel.com> In-Reply-To: List-Id: --===============3991259259951196055== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 8/12/2021 2:39 PM, Chunyan Zhang wrote: > On Sun, 1 Aug 2021 at 14:18, kernel test robot wrote: >> >> Hi Chunyan, >> >> I love your patch! Yet something to improve: >> >> [auto build test ERROR on tip/timers/core] >> [also build test ERROR on linux/master linus/master v5.14-rc3 next-20210= 730] >> [If your patch is applied to the wrong git tree, kindly drop us a note. >> And when submitting patch, we suggest to use '--base' as documented in >> https://git-scm.com/docs/git-format-patch] >> >> url: https://github.com/0day-ci/linux/commits/Chunyan-Zhang/Add-modul= e-build-support-for-timer-driver/20210715-145711 >> base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 2d0a= 9eb23ccfdf11308bec6db0bc007585d919d2 >> config: s390-buildonly-randconfig-r003-20210728 (attached as .config) >> compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project c49= df15c278857adecd12db6bb1cdc96885f7079) >> reproduce (this is a W=3D1 build): >> wget https://raw.githubusercontent.com/intel/lkp-tests/master/s= bin/make.cross -O ~/bin/make.cross >> chmod +x ~/bin/make.cross >> # install s390 cross compiling tool for clang build >> # apt-get install binutils-s390x-linux-gnu >> # https://github.com/0day-ci/linux/commit/8e3c2c4da32affdbca933= 979110050e564351c84 >> git remote add linux-review https://github.com/0day-ci/linux >> git fetch --no-tags linux-review Chunyan-Zhang/Add-module-build= -support-for-timer-driver/20210715-145711 >> git checkout 8e3c2c4da32affdbca933979110050e564351c84 >> # save the attached .config to linux build tree >> mkdir build_dir >> COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross = O=3Dbuild_dir ARCH=3Ds390 SHELL=3D/bin/bash >> >> If you fix the issue, kindly add following tag as appropriate >> Reported-by: kernel test robot >> >> All errors (new ones prefixed by >>): >> >> s390x-linux-gnu-ld: drivers/tty/ipwireless/main.o: in function `ipwi= reless_attach': >> main.c:(.text+0x21a): undefined reference to `iounmap' >> s390x-linux-gnu-ld: main.c:(.text+0x270): undefined reference to `io= unmap' >> s390x-linux-gnu-ld: drivers/tty/ipwireless/main.o: in function `ipwi= reless_detach': >> main.c:(.text+0x478): undefined reference to `iounmap' >> s390x-linux-gnu-ld: main.c:(.text+0x4d4): undefined reference to `io= unmap' >> s390x-linux-gnu-ld: drivers/tty/ipwireless/main.o: in function `ipwi= reless_probe': >> main.c:(.text+0x70c): undefined reference to `ioremap' >> s390x-linux-gnu-ld: main.c:(.text+0x83e): undefined reference to `io= unmap' >> s390x-linux-gnu-ld: main.c:(.text+0x8b6): undefined reference to `io= remap' >> s390x-linux-gnu-ld: main.c:(.text+0x93a): undefined reference to `io= unmap' >> s390x-linux-gnu-ld: drivers/char/xillybus/xillybus_of.o: in function= `xilly_drv_probe': >> xillybus_of.c:(.text+0x9a): undefined reference to `devm_platform_io= remap_resource' >> s390x-linux-gnu-ld: drivers/net/arcnet/arc-rimi.o: in function `chec= k_mirror': >> arc-rimi.c:(.text+0x5c): undefined reference to `ioremap' >> s390x-linux-gnu-ld: arc-rimi.c:(.text+0xc2): undefined reference to = `iounmap' >> s390x-linux-gnu-ld: drivers/net/arcnet/arc-rimi.o: in function `arc_= rimi_exit': >> arc-rimi.c:(.exit.text+0x44): undefined reference to `iounmap' >> s390x-linux-gnu-ld: drivers/net/arcnet/arc-rimi.o: in function `arcr= imi_found': >> arc-rimi.c:(.init.text+0x37c): undefined reference to `ioremap' >> s390x-linux-gnu-ld: arc-rimi.c:(.init.text+0x3c8): undefined referen= ce to `iounmap' >> s390x-linux-gnu-ld: arc-rimi.c:(.init.text+0x614): undefined referen= ce to `iounmap' >> s390x-linux-gnu-ld: arc-rimi.c:(.init.text+0x674): undefined referen= ce to `ioremap' >> s390x-linux-gnu-ld: arc-rimi.c:(.init.text+0x6de): undefined referen= ce to `iounmap' >> s390x-linux-gnu-ld: drivers/net/ethernet/fujitsu/fmvj18x_cs.o: in fu= nction `fmvj18x_probe': >> fmvj18x_cs.c:(.text+0x756): undefined reference to `ioremap' >> s390x-linux-gnu-ld: fmvj18x_cs.c:(.text+0x788): undefined reference = to `iounmap' >> s390x-linux-gnu-ld: fmvj18x_cs.c:(.text+0x7e0): undefined reference = to `iounmap' >> s390x-linux-gnu-ld: drivers/net/ethernet/fujitsu/fmvj18x_cs.o: in fu= nction `fmvj18x_detach': >> fmvj18x_cs.c:(.text+0xce0): undefined reference to `iounmap' >> s390x-linux-gnu-ld: drivers/net/ethernet/fujitsu/fmvj18x_cs.o: in fu= nction `fmvj18x_get_hwinfo': >> fmvj18x_cs.c:(.text+0x27d4): undefined reference to `ioremap' >> s390x-linux-gnu-ld: fmvj18x_cs.c:(.text+0x2940): undefined reference= to `iounmap' >> s390x-linux-gnu-ld: drivers/pcmcia/cistpl.o: in function `release_ci= s_mem': >> cistpl.c:(.text+0x9c): undefined reference to `iounmap' >> s390x-linux-gnu-ld: drivers/pcmcia/cistpl.o: in function `set_cis_ma= p': >> cistpl.c:(.text+0x46c): undefined reference to `ioremap' >> s390x-linux-gnu-ld: cistpl.c:(.text+0x4a8): undefined reference to `= iounmap' >> s390x-linux-gnu-ld: cistpl.c:(.text+0x4e6): undefined reference to `= iounmap' >> s390x-linux-gnu-ld: cistpl.c:(.text+0x4f8): undefined reference to `= ioremap' >> s390x-linux-gnu-ld: drivers/crypto/ccree/cc_driver.o: in function `c= cree_probe': >> cc_driver.c:(.text+0x5a8): undefined reference to `devm_ioremap_reso= urce' >> s390x-linux-gnu-ld: drivers/crypto/ccree/cc_debugfs.o: in function `= cc_debugfs_init': >> cc_debugfs.c:(.text+0xac): undefined reference to `debugfs_create_re= gset32' >> s390x-linux-gnu-ld: cc_debugfs.c:(.text+0x190): undefined reference = to `debugfs_create_regset32' >> s390x-linux-gnu-ld: drivers/clocksource/timer-of.o: in function `tim= er_of_init': >> timer-of.c:(.text+0x104): undefined reference to `of_iomap' >>>> s390x-linux-gnu-ld: timer-of.c:(.text+0x306): undefined reference to `= iounmap' > = > Seems TIMER_OF should depend on HAS_IOMEM, but this error is not > related with changes in the above patch? Hi Chunyan, Thanks for the feedback, the bot found the error was first found with = this patch, sometimes it doesn't mean the patch brings the error. Best Regards, Rong Chen > = > = >> s390x-linux-gnu-ld: drivers/clocksource/timer-of.o: in function `tim= er_of_cleanup': >> timer-of.c:(.text+0x5f2): undefined reference to `iounmap' >> >> --- >> 0-DAY CI Kernel Test Service, Intel Corporation >> https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org > _______________________________________________ > kbuild-all mailing list -- kbuild-all(a)lists.01.org > To unsubscribe send an email to kbuild-all-leave(a)lists.01.org >=20 --===============3991259259951196055==--