Thread (21 messages) 21 messages, 4 authors, 2021-12-22

Re: [PATCH v10 10/14] iio: test: add basic tests for the iio-rescale driver

From: kernel test robot <hidden>
Date: 2021-12-21 08:03:55
Also in: linux-iio, lkml, oe-kbuild-all

Hi Liam,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on 2b6bff0b122785f09cfbdc34b1aa9edceea6e4c1]

url:    https://github.com/0day-ci/linux/commits/Liam-Beguin/iio-afe-add-temperature-rescaling-support/20211220-064048
base:   2b6bff0b122785f09cfbdc34b1aa9edceea6e4c1
config: mips-randconfig-r026-20211220 (https://download.01.org/0day-ci/archive/20211221/202112211530.JHHCLDOr-lkp@intel.com/config)
compiler: mipsel-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://github.com/0day-ci/linux/commit/833188fad2d37f1e40f56eb7286d6dd2e1a2ced5
        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/20211220-064048
        git checkout 833188fad2d37f1e40f56eb7286d6dd2e1a2ced5
        # 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=mips 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 >>):

   mipsel-linux-ld: drivers/iio/test/iio-test-rescale.o: in function `iio_rescale_test_offset':
quoted
iio-test-rescale.c:(.text+0x48): undefined reference to `kunit_kmalloc_array'
mipsel-linux-ld: iio-test-rescale.c:(.text+0xc4): undefined reference to `kunit_binary_assert_format'
   mipsel-linux-ld: iio-test-rescale.c:(.text+0xc8): undefined reference to `kunit_binary_assert_format'
quoted
mipsel-linux-ld: iio-test-rescale.c:(.text+0x13c): undefined reference to `kunit_do_assertion'
mipsel-linux-ld: iio-test-rescale.c:(.text+0x15c): undefined reference to `kunit_binary_str_assert_format'
   mipsel-linux-ld: iio-test-rescale.c:(.text+0x160): undefined reference to `kunit_binary_str_assert_format'
   mipsel-linux-ld: iio-test-rescale.c:(.text+0x1b0): undefined reference to `kunit_do_assertion'
   mipsel-linux-ld: drivers/iio/test/iio-test-rescale.o: in function `iio_rescale_test_scale':
   iio-test-rescale.c:(.text+0x40c): undefined reference to `kunit_kmalloc_array'
   mipsel-linux-ld: iio-test-rescale.c:(.text+0x490): undefined reference to `kunit_binary_assert_format'
   mipsel-linux-ld: iio-test-rescale.c:(.text+0x4c0): undefined reference to `kunit_binary_assert_format'
   mipsel-linux-ld: iio-test-rescale.c:(.text+0x4f0): undefined reference to `kunit_do_assertion'
   mipsel-linux-ld: iio-test-rescale.c:(.text+0x6a4): undefined reference to `kunit_do_assertion'
   mipsel-linux-ld: iio-test-rescale.c:(.text+0x718): undefined reference to `kunit_do_assertion'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help