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

From: Peter Rosin
Date: Sun Nov 21 2021 - 09:31:00 EST


On 2021-11-21 12:19, Jonathan Cameron wrote:
> On Wed, 17 Nov 2021 23:03:24 +0800
> kernel test robot <lkp@xxxxxxxxx> wrote:
>
>> 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/20211115-114729
>> base: 2b6bff0b122785f09cfbdc34b1aa9edceea6e4c1
>> config: nds32-randconfig-r003-20211115 (attached as .config)
>> compiler: nds32le-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/bef63a2e36c2ceccc6f5954ab7e7cbb178c08fd8
>> 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/20211115-114729
>> git checkout bef63a2e36c2ceccc6f5954ab7e7cbb178c08fd8
>> # save the attached .config to linux build tree
>> mkdir build_dir
>> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nds32 SHELL=/bin/bash
>>
>> If you fix the issue, kindly add following tag as appropriate
>> Reported-by: kernel test robot <lkp@xxxxxxxxx>
>>
>
> This one has me stumped. The new tests have a depends on KUNIT and that should result in these
> functions being built.
>
> Anyone know what might have caused these?

I didn't grok that either. My best guess is that the arch in question
(nds32) has some other config thingy that makes kunit build in some
weird way (or maybe not at all). But that's just a very wild guess
indeed.

I'll try to get to reviewing this new version, but I'm swamped at $-job
at the moment...

Cheers,
Peter