From: kernel test robot <lkp@intel.com>
To: Mina Almasry <almasrymina@google.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
Mina Almasry <almasrymina@google.com>,
Mike Kravetz <mike.kravetz@oracle.com>,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>,
linux-kernel@vger.kernel.org, Ken Chen <kenchen@google.com>,
Chris Kennelly <ckennelly@google.com>,
Michal Hocko <mhocko@suse.com>, Vlastimil Babka <vbabka@suse.cz>,
Kirill Shutemov <kirill@shutemov.name>
Subject: Re: [PATCH v5 1/2] mm, hugepages: add mremap() support for hugepage backed vma
Date: Sun, 10 Oct 2021 01:21:59 +0800 [thread overview]
Message-ID: <202110100131.PDU8r9xQ-lkp@intel.com> (raw)
In-Reply-To: <20211008183256.1558105-1-almasrymina@google.com>
[-- Attachment #1: Type: text/plain, Size: 2360 bytes --]
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@intel.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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 27980 bytes --]
next prev parent reply other threads:[~2021-10-09 17:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-08 18:32 Mina Almasry
2021-10-08 18:32 ` [PATCH v5 2/2] mm, hugepages: Add hugetlb vma mremap() test Mina Almasry
2021-10-09 17:21 ` kernel test robot [this message]
2021-10-12 0:18 ` [PATCH v5 1/2] mm, hugepages: add mremap() support for hugepage backed vma Mike Kravetz
2021-10-12 1:21 ` Mina Almasry
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=202110100131.PDU8r9xQ-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=almasrymina@google.com \
--cc=ckennelly@google.com \
--cc=kbuild-all@lists.01.org \
--cc=kenchen@google.com \
--cc=kirill@shutemov.name \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=llvm@lists.linux.dev \
--cc=mhocko@suse.com \
--cc=mike.kravetz@oracle.com \
--cc=vbabka@suse.cz \
/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