From: kbuild test robot <lkp@intel.com>
To: Xuefeng Wang <wxf.wang@hisilicon.com>
Cc: kbuild-all@lists.01.org, arnd@arndb.de,
akpm@linux-foundation.org, catalin.marinas@arm.com,
will@kernel.org, mark.rutland@arm.com,
linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org,
chenzhou10@huawei.com
Subject: Re: [PATCH 1/2] mm: add helpers pmdp_modify_prot_start/commit
Date: Sat, 18 Jan 2020 06:37:05 +0800 [thread overview]
Message-ID: <202001180630.6Fc05qBN%lkp@intel.com> (raw)
In-Reply-To: <1579144157-7736-2-git-send-email-wxf.wang@hisilicon.com>
[-- Attachment #1: Type: text/plain, Size: 3672 bytes --]
Hi Xuefeng,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on mmotm/master]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Xuefeng-Wang/mm-thp-rework-the-pmd-protect-changing-flow/20200117-115821
base: git://git.cmpxchg.org/linux-mmotm.git master
config: nds32-defconfig (attached as .config)
compiler: nds32le-linux-gcc (GCC) 9.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=9.2.0 make.cross ARCH=nds32
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from arch/nds32/include/asm/pgtable.h:394,
from include/linux/mm.h:99,
from include/linux/ring_buffer.h:5,
from include/linux/trace_events.h:6,
from include/trace/syscall.h:7,
from include/linux/syscalls.h:85,
from init/main.c:21:
include/asm-generic/pgtable.h: In function '__pmdp_modify_prot_commit':
>> include/asm-generic/pgtable.h:677:2: error: implicit declaration of function 'set_pmd_at'; did you mean 'set_pte_at'? [-Werror=implicit-function-declaration]
677 | set_pmd_at(vma->vm_mm, addr, pmdp, pmd);
| ^~~~~~~~~~
| set_pte_at
cc1: some warnings being treated as errors
--
In file included from arch/nds32/include/asm/pgtable.h:394,
from include/linux/mm.h:99,
from arch/nds32/include/asm/uaccess.h:14,
from include/linux/uaccess.h:11,
from include/linux/sched/task.h:11,
from include/linux/sched/signal.h:9,
from include/linux/ptrace.h:7,
from arch/nds32/kernel/signal.c:6:
include/asm-generic/pgtable.h: In function '__pmdp_modify_prot_commit':
>> include/asm-generic/pgtable.h:677:2: error: implicit declaration of function 'set_pmd_at'; did you mean 'set_pte_at'? [-Werror=implicit-function-declaration]
677 | set_pmd_at(vma->vm_mm, addr, pmdp, pmd);
| ^~~~~~~~~~
| set_pte_at
arch/nds32/kernel/signal.c: In function 'do_signal':
arch/nds32/kernel/signal.c:362:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
362 | regs->uregs[15] = __NR_restart_syscall;
arch/nds32/kernel/signal.c:363:3: note: here
363 | case -ERESTARTNOHAND:
| ^~~~
arch/nds32/kernel/signal.c: In function 'handle_signal':
arch/nds32/kernel/signal.c:315:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
315 | if (!(ksig->ka.sa.sa_flags & SA_RESTART)) {
| ^
arch/nds32/kernel/signal.c:319:3: note: here
319 | case -ERESTARTNOINTR:
| ^~~~
cc1: some warnings being treated as errors
vim +677 include/asm-generic/pgtable.h
672
673 static inline void __pmdp_modify_prot_commit(struct vm_area_struct *vma,
674 unsigned long addr,
675 pmd_t *pmdp, pmd_t pmd)
676 {
> 677 set_pmd_at(vma->vm_mm, addr, pmdp, pmd);
678 }
679
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 10682 bytes --]
next prev parent reply other threads:[~2020-01-17 22:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-16 3:09 [PATCH 0/2] mm/thp: rework the pmd protect changing flow Xuefeng Wang
2020-01-16 3:09 ` [PATCH 1/2] mm: add helpers pmdp_modify_prot_start/commit Xuefeng Wang
2020-01-17 22:37 ` kbuild test robot [this message]
2020-01-20 15:05 ` kbuild test robot
2020-01-16 3:09 ` [PATCH 2/2] arm64: mm: rework the pmd protect changing flow Xuefeng Wang
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=202001180630.6Fc05qBN%lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=arnd@arndb.de \
--cc=catalin.marinas@arm.com \
--cc=chenzhou10@huawei.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mark.rutland@arm.com \
--cc=will@kernel.org \
--cc=wxf.wang@hisilicon.com \
/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
all inboxes | Powered by JetHome®