From: kernel test robot <lkp@intel.com>
To: Mark-PK Tsai <mark-pk.tsai@mediatek.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
Linux Memory Management List <linux-mm@kvack.org>,
Mathieu Poirier <mathieu.poirier@linaro.org>
Subject: [linux-next:master 4288/13276] coherent.c:undefined reference to `memunmap'
Date: Thu, 28 Jul 2022 17:14:13 +0800 [thread overview]
Message-ID: <202207281724.oBZnmI4E-lkp@intel.com> (raw)
Hi Mark-PK,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 9250d2f72dc46a808b6aa23bf50dd670f1f52ddc
commit: e61c451476e61450f6771ce03bbc01210a09be16 [4288/13276] dma-mapping: Add dma_release_coherent_memory to DMA API
config: s390-randconfig-r002-20220728 (https://download.01.org/0day-ci/archive/20220728/202207281724.oBZnmI4E-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 8dfaecc4c24494337933aff9d9166486ca0949f1)
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
# install s390 cross compiling tool for clang build
# apt-get install binutils-s390x-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e61c451476e61450f6771ce03bbc01210a09be16
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout e61c451476e61450f6771ce03bbc01210a09be16
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
/opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: kernel/dma/coherent.o: in function `dma_declare_coherent_memory':
coherent.c:(.text+0x48): undefined reference to `memremap'
/opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: coherent.c:(.text+0x14a): undefined reference to `memunmap'
/opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: coherent.c:(.text+0x180): undefined reference to `memunmap'
/opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: kernel/dma/coherent.o: in function `dma_release_coherent_memory':
>> coherent.c:(.text+0x1e2): undefined reference to `memunmap'
/opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: kernel/dma/coherent.o: in function `rmem_dma_device_init':
coherent.c:(.text+0x634): undefined reference to `memremap'
/opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: coherent.c:(.text+0x740): undefined reference to `memunmap'
/opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: drivers/crypto/ccree/cc_driver.o: in function `ccree_probe':
cc_driver.c:(.text+0x3d8): undefined reference to `devm_ioremap_resource'
/opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: drivers/crypto/ccree/cc_debugfs.o: in function `cc_debugfs_init':
cc_debugfs.c:(.text+0x94): undefined reference to `debugfs_create_regset32'
/opt/cross/gcc-12.1.0-nolibc/s390x-linux/bin/s390x-linux-ld: cc_debugfs.c:(.text+0x13a): undefined reference to `debugfs_create_regset32'
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-07-28 9:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202207281724.oBZnmI4E-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.org \
--cc=llvm@lists.linux.dev \
--cc=mark-pk.tsai@mediatek.com \
--cc=mathieu.poirier@linaro.org \
/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