From: kernel test robot <lkp@intel.com>
To: Yajun Deng <yajun.deng@linux.dev>,
akpm@linux-foundation.org, rppt@kernel.org
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-mm@kvack.org, linux-kernel@vger.kernel.org,
Yajun Deng <yajun.deng@linux.dev>
Subject: Re: [PATCH] mm: pass nid to reserve_bootmem_region()
Date: Fri, 16 Jun 2023 01:42:24 +0800 [thread overview]
Message-ID: <202306160145.juJMr3Bi-lkp@intel.com> (raw)
In-Reply-To: <20230615110355.1694461-1-yajun.deng@linux.dev>
Hi Yajun,
kernel test robot noticed the following build errors:
[auto build test ERROR on akpm-mm/mm-everything]
url: https://github.com/intel-lab-lkp/linux/commits/Yajun-Deng/mm-pass-nid-to-reserve_bootmem_region/20230615-190631
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link: https://lore.kernel.org/r/20230615110355.1694461-1-yajun.deng%40linux.dev
patch subject: [PATCH] mm: pass nid to reserve_bootmem_region()
config: arm-randconfig-r023-20230614 (https://download.01.org/0day-ci/archive/20230616/202306160145.juJMr3Bi-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
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
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
git remote add akpm-mm https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git
git fetch akpm-mm mm-everything
git checkout akpm-mm/mm-everything
b4 shazam https://lore.kernel.org/r/20230615110355.1694461-1-yajun.deng@linux.dev
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=arm olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202306160145.juJMr3Bi-lkp@intel.com/
All errors (new ones prefixed by >>):
>> mm/memblock.c:2098:18: error: no member named 'nid' in 'struct memblock_region'
nid = region->nid;
~~~~~~ ^
1 error generated.
vim +2098 mm/memblock.c
2080
2081 static void __init memmap_init_reserved_pages(void)
2082 {
2083 struct memblock_region *region;
2084 phys_addr_t start, end;
2085 int nid;
2086 u64 i;
2087
2088 /* initialize struct pages for the reserved regions */
2089 __for_each_mem_range(i, &memblock.reserved, NULL, NUMA_NO_NODE,
2090 MEMBLOCK_NONE, &start, &end, &nid)
2091 reserve_bootmem_region(start, end, nid);
2092
2093 /* and also treat struct pages for the NOMAP regions as PageReserved */
2094 for_each_mem_region(region) {
2095 if (memblock_is_nomap(region)) {
2096 start = region->base;
2097 end = start + region->size;
> 2098 nid = region->nid;
2099 reserve_bootmem_region(start, end, nid);
2100 }
2101 }
2102 }
2103
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2023-06-15 17:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-15 11:03 Yajun Deng
2023-06-15 17:42 ` kernel test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202306160145.juJMr3Bi-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=rppt@kernel.org \
--cc=yajun.deng@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox