Re: [PATCH] maple_tree: Reorganize testing to restore module testing

From: Liam Howlett
Date: Thu Oct 27 2022 - 13:49:48 EST


* kernel test robot <lkp@xxxxxxxxx> [221026 18:54]:
> Hi Liam,
>
> Thank you for the patch! Yet something to improve:
>
> [auto build test ERROR on akpm-mm/mm-everything]
> [cannot apply to linus/master v6.1-rc2 next-20221026]
> [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/Liam-Howlett/maple_tree-Reorganize-testing-to-restore-module-testing/20221026-232537
> base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
> patch link: https://lore.kernel.org/r/20221026152155.4041070-1-Liam.Howlett%40oracle.com
> patch subject: [PATCH] maple_tree: Reorganize testing to restore module testing
> config: s390-allmodconfig
> compiler: s390-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/253dbd44dc3ecb69f595258bca126a7a2a2cfbd3
> git remote add linux-review https://github.com/intel-lab-lkp/linux
> git fetch --no-tags linux-review Liam-Howlett/maple_tree-Reorganize-testing-to-restore-module-testing/20221026-232537
> git checkout 253dbd44dc3ecb69f595258bca126a7a2a2cfbd3
> # 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=s390 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 >>, old ones prefixed by <<):
>
> >> ERROR: modpost: "mt_dump" [lib/test_maple_tree.ko] undefined!
> >> ERROR: modpost: "mt_validate" [lib/test_maple_tree.ko] undefined!
> >> ERROR: modpost: "mas_walk" [lib/test_maple_tree.ko] undefined!
> >> ERROR: modpost: "mas_store_gfp" [lib/test_maple_tree.ko] undefined!
> >> ERROR: modpost: "mas_empty_area_rev" [lib/test_maple_tree.ko] undefined!
> >> ERROR: modpost: "mas_empty_area" [lib/test_maple_tree.ko] undefined!
> >> ERROR: modpost: "mas_expected_entries" [lib/test_maple_tree.ko] undefined!
> >> ERROR: modpost: "mas_store" [lib/test_maple_tree.ko] undefined!
> >> ERROR: modpost: "mas_destroy" [lib/test_maple_tree.ko] undefined!
> >> ERROR: modpost: "mt_cache_shrink" [lib/test_maple_tree.ko] undefined!
> WARNING: modpost: suppressed 26 unresolved symbol warnings because there were too many)

...

I tested this as a built-in. I will resend this patch once I have made
the necessary adjustments for the module working.