[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202305261014.oCTIOnRv-lkp@intel.com>
Date: Fri, 26 May 2023 10:57:54 +0800
From: kernel test robot <lkp@...el.com>
To: Kefeng Wang <wangkefeng.wang@...wei.com>,
Mike Rapoport <rppt@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: oe-kbuild-all@...ts.linux.dev,
Linux Memory Management List <linux-mm@...ck.org>,
linux-kernel@...r.kernel.org, tsahu@...ux.ibm.com,
anshuman.khandual@....com, ssawgyw@...il.com,
Kefeng Wang <wangkefeng.wang@...wei.com>
Subject: Re: [PATCH -next] memblock: unify memblock dump and debugfs show
Hi Kefeng,
kernel test robot noticed the following build errors:
[auto build test ERROR on next-20230525]
url: https://github.com/intel-lab-lkp/linux/commits/Kefeng-Wang/memblock-unify-memblock-dump-and-debugfs-show/20230525-194341
base: next-20230525
patch link: https://lore.kernel.org/r/20230525115856.124507-1-wangkefeng.wang%40huawei.com
patch subject: [PATCH -next] memblock: unify memblock dump and debugfs show
config: arc-defconfig
compiler: arc-elf-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
mkdir -p ~/bin
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/08ce8490dec830c059127709a3a692ac7368287e
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Kefeng-Wang/memblock-unify-memblock-dump-and-debugfs-show/20230525-194341
git checkout 08ce8490dec830c059127709a3a692ac7368287e
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 ~/bin/make.cross W=1 O=build_dir ARCH=arc olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 ~/bin/make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202305261014.oCTIOnRv-lkp@intel.com/
All errors (new ones prefixed by >>):
mm/memblock.c: In function 'memblock_dump.constprop':
>> mm/memblock.c:1910:27: error: 'flagname' causes a section type conflict with 'memblock'
1910 | static const char * const flagname[] __initdata_memblock = {
| ^~~~~~~~
mm/memblock.c:115:17: note: 'memblock' was declared here
115 | struct memblock memblock __initdata_memblock = {
| ^~~~~~~~
vim +1910 mm/memblock.c
1909
> 1910 static const char * const flagname[] __initdata_memblock = {
1911 [ilog2(MEMBLOCK_HOTPLUG)] = "HOTPLUG",
1912 [ilog2(MEMBLOCK_MIRROR)] = "MIRROR",
1913 [ilog2(MEMBLOCK_NOMAP)] = "NOMAP",
1914 [ilog2(MEMBLOCK_DRIVER_MANAGED)] = "DRV_MNG",
1915 [ilog2(MEMBLOCK_MAX_UNKNOWN)] = "UNKNOWN",
1916 };
1917
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
View attachment "config" of type "text/plain" (39981 bytes)
Powered by blists - more mailing lists