Hi David,
I love your patch! Yet something to improve:
[auto build test ERROR on vbabka-slab/for-next] [also build test ERROR on kees/for-next/pstore linus/master v6.1-rc2 next-20221025] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/David-Gow/kunit-Provide-a-sta... base: git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git for-next patch link: https://lore.kernel.org/r/20221025071907.1251820-3-davidgow%40google.com patch subject: [PATCH v2 3/3] mm: slub: test: Use the kunit_get_current_test() function config: m68k-allmodconfig (attached as .config) compiler: m68k-linux-gcc (GCC) 12.1.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/intel-lab-lkp/linux/commit/048f50673812037a89a222fd04beae... git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review David-Gow/kunit-Provide-a-static-key-to-check-if-KUnit-is-actively-running-tests/20221025-152023 git checkout 048f50673812037a89a222fd04beaeaa59a2c2bb # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.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@intel.com
All errors (new ones prefixed by >>):
m68k-linux-ld: mm/slub.o: in function `slab_add_kunit_errors':
slub.c:(.text+0x1262): undefined reference to `kunit_running'