Re: [PATCH v9 2/5] lib: test_bitmap: add bitmap_print_bitmask/list_to_buf test cases

From: Andy Shevchenko
Date: Fri Aug 06 2021 - 14:04:27 EST


On Sat, Aug 07, 2021 at 01:51:36AM +0800, kernel test robot wrote:
> Hi Barry,
>
> I love your patch! Perhaps something to improve:

I recall that I saw it ~1 year ago and informed Max about it.
Don't remember what was the outcome, though.

> [auto build test WARNING on driver-core/driver-core-testing]
> [also build test WARNING on staging/staging-testing linus/master v5.14-rc4 next-20210805]
> [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]
>
> url: https://github.com/0day-ci/linux/commits/Barry-Song/use-bin_attribute-to-break-the-size-limitation-of-cpumap-ABI/20210806-190735
> base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git 112cedc8e600b668688eb809bf11817adec58ddc
> config: xtensa-randconfig-r011-20210805 (attached as .config)
> compiler: xtensa-linux-gcc (GCC) 10.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://github.com/0day-ci/linux/commit/cc67b898a0f6f1a93163c0c296cfa77b1f04f72d
> git remote add linux-review https://github.com/0day-ci/linux
> git fetch --no-tags linux-review Barry-Song/use-bin_attribute-to-break-the-size-limitation-of-cpumap-ABI/20210806-190735
> git checkout cc67b898a0f6f1a93163c0c296cfa77b1f04f72d
> # save the attached .config to linux build tree
> mkdir build_dir
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=xtensa SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
>
> All warnings (new ones prefixed by >>, old ones prefixed by <<):
>
> >> WARNING: modpost: lib/test_bitmap.o(.text.unlikely+0x58): Section mismatch in reference from the function bitmap_equal() to the variable .init.data:print_buf
> The function bitmap_equal() references
> the variable __initdata print_buf.
> This is often because bitmap_equal lacks a __initdata
> annotation or the annotation of print_buf is wrong.
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx



--
With Best Regards,
Andy Shevchenko