Re: [PATCH v6 07/13] iio: test: add basic tests for the iio-rescale driver
From: kernel test robot <hidden>
Date: 2021-07-24 08:42:14
Also in:
linux-iio, lkml, oe-kbuild-all
Hi Liam, Thank you for the patch! Yet something to improve: [auto build test ERROR on 6cbb3aa0f9d5d23221df787cf36f74d3866fdb78] url: https://github.com/0day-ci/linux/commits/Liam-Beguin/iio-afe-add-temperature-rescaling-support/20210721-111032 base: 6cbb3aa0f9d5d23221df787cf36f74d3866fdb78 config: arm64-randconfig-r022-20210720 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project c781eb153bfbd1b52b03efe34f56bbeccbb8aba6) 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 arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://github.com/0day-ci/linux/commit/6ce4f151647d60473a4d71ed1d3036706632a020 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Liam-Beguin/iio-afe-add-temperature-rescaling-support/20210721-111032 git checkout 6ce4f151647d60473a4d71ed1d3036706632a020 # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <redacted> All errors (new ones prefixed by >>):
quoted
ld.lld: error: duplicate symbol: rescale_process_scale
>>> defined at iio-rescale.c >>> iio/afe/iio-rescale.o:(rescale_process_scale) in archive drivers/built-in.a >>> defined at iio-rescale.c >>> iio/afe/iio-rescale.o:(.text+0x0) in archive drivers/built-in.a --
quoted
ld.lld: error: duplicate symbol: rescale_process_offset
>>> defined at iio-rescale.c >>> iio/afe/iio-rescale.o:(rescale_process_offset) in archive drivers/built-in.a >>> defined at iio-rescale.c >>> iio/afe/iio-rescale.o:(.text+0x180) in archive drivers/built-in.a --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Attachments
- .config.gz [application/gzip] 45517 bytes