[tzungbi-chrome-platform:dev 25/25] cros_kunit_util.c:undefined reference to `kunit_kmalloc_array'

From: kernel test robot
Date: Wed May 25 2022 - 13:48:58 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/tzungbi/chrome-platform.git dev
head: c8065f6d478990cfc385d1d579972a75fc29605b
commit: c8065f6d478990cfc385d1d579972a75fc29605b [25/25] platform/chrome: cros_ec_proto: add Kunit tests for cros_ec_query_all()
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20220526/202205260106.u6TwOLMB-lkp@xxxxxxxxx/config)
compiler: m68k-linux-gcc (GCC) 11.3.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://git.kernel.org/pub/scm/linux/kernel/git/tzungbi/chrome-platform.git/commit/?id=c8065f6d478990cfc385d1d579972a75fc29605b
git remote add tzungbi-chrome-platform https://git.kernel.org/pub/scm/linux/kernel/git/tzungbi/chrome-platform.git
git fetch --no-tags tzungbi-chrome-platform dev
git checkout c8065f6d478990cfc385d1d579972a75fc29605b
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

m68k-linux-ld: drivers/platform/chrome/cros_kunit_util.o: in function `cros_kunit_ec_xfer_mock':
>> cros_kunit_util.c:(.text+0x7c): undefined reference to `kunit_kmalloc_array'
m68k-linux-ld: drivers/platform/chrome/cros_kunit_util.o: in function `cros_kunit_ec_xfer_mock_addx':
cros_kunit_util.c:(.text+0x12e): undefined reference to `kunit_kmalloc_array'

--
0-DAY CI Kernel Test Service
https://01.org/lkp