[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202110100131.PDU8r9xQ-lkp@intel.com>
Date: Sun, 10 Oct 2021 01:21:59 +0800
From: kernel test robot <lkp@...el.com>
To: Mina Almasry <almasrymina@...gle.com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
Mina Almasry <almasrymina@...gle.com>,
Mike Kravetz <mike.kravetz@...cle.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Memory Management List <linux-mm@...ck.org>,
linux-kernel@...r.kernel.org, Ken Chen <kenchen@...gle.com>,
Chris Kennelly <ckennelly@...gle.com>,
Michal Hocko <mhocko@...e.com>,
Vlastimil Babka <vbabka@...e.cz>,
Kirill Shutemov <kirill@...temov.name>
Subject: Re: [PATCH v5 1/2] mm, hugepages: add mremap() support for hugepage
backed vma
Hi Mina,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on hnaz-mm/master]
url: https://github.com/0day-ci/linux/commits/Mina-Almasry/mm-hugepages-add-mremap-support-for-hugepage-backed-vma/20211009-023524
base: https://github.com/hnaz/linux-mm master
config: riscv-randconfig-c006-20211009 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 30caca39f401ae17927439c0a0bd6d1b1916dd6a)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://github.com/0day-ci/linux/commit/295ef1343fb989a386d2393ffe29b5a5553b22cf
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Mina-Almasry/mm-hugepages-add-mremap-support-for-hugepage-backed-vma/20211009-023524
git checkout 295ef1343fb989a386d2393ffe29b5a5553b22cf
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
mm/hugetlb.c:3729:16: warning: variable 'demote_size' set but not used [-Wunused-but-set-variable]
unsigned long demote_size;
^
>> mm/hugetlb.c:6535:13: error: static declaration of 'hugetlb_vma_shareable' follows non-static declaration
static bool hugetlb_vma_shareable(struct vm_area_struct *vma,
^
include/linux/hugetlb.h:217:6: note: previous declaration is here
bool hugetlb_vma_shareable(struct vm_area_struct *vma, unsigned long addr);
^
1 warning and 1 error generated.
vim +/hugetlb_vma_shareable +6535 mm/hugetlb.c
6533
6534 #else /* !CONFIG_ARCH_WANT_HUGE_PMD_SHARE */
> 6535 static bool hugetlb_vma_shareable(struct vm_area_struct *vma,
6536 unsigned long addr)
6537 {
6538 return false;
6539 }
6540
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (27980 bytes)
Powered by blists - more mailing lists