Skip to contentSkip to conversation

<stdin>:1520:2: warning: #warning syscall process_madvise not implemented

PATCH kbuild test robot 2 participants 2 messages May 7, 2020 – May 8, 2020

Subsystems (2)
lore
Share & tools
lore

kbuild test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   7def1ef0f72c3ebe3e42467d2f73c4e56153fa49
commit: db22c0ad9503eda042475aca2675cdce55249b4b [6698/6711] mm/madvise: introduce process_madvise() syscall: an external memory hinting API
config: mips-ip27_defconfig (attached as .config)
compiler: mips64-linux-gcc (GCC) 9.3.0

reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
git checkout db22c0ad9503eda042475aca2675cdce55249b4b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=mips

If you fix the issue, kindly add following tag as appropriate

All warnings (new ones prefixed by >>):

>> <stdin>:1520:2: warning: #warning syscall process_madvise not implemented [-Wcpp]
--
>> <stdin>:1520:2: warning: #warning syscall process_madvise not implemented [-Wcpp]
--
>> <stdin>:1520:2: warning: #warning syscall process_madvise not implemented [-Wcpp]

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

#1 lore raw
Quoted 18 lines · kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   7def1ef0f72c3ebe3e42467d2f73c4e56153fa49
commit: db22c0ad9503eda042475aca2675cdce55249b4b [6698/6711] mm/madvise: introduce process_madvise() syscall: an external memory hinting API
config: mips-ip27_defconfig (attached as .config)
compiler: mips64-linux-gcc (GCC) 9.3.0

reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
git checkout db22c0ad9503eda042475aca2675cdce55249b4b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=mips

If you fix the issue, kindly add following tag as appropriate

All warnings (new ones prefixed by >>):

Quoted 1 line
Quoted 1 line

<stdin>:1520:2: warning: #warning syscall process_madvise not implemented [-Wcpp]

Quoted 8 lines

--

Quoted 1 line
Quoted 1 line

<stdin>:1520:2: warning: #warning syscall process_madvise not implemented [-Wcpp]

--

Quoted 1 line
Quoted 1 line

<stdin>:1520:2: warning: #warning syscall process_madvise not implemented [-Wcpp]

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

Thanks for the report. This patch should fix it.

Quoted 1 line

From 2b93b6abc2a32683cdccb6f109617e1a597466c8 Mon Sep 17 00:00:00 2001

From: Minchan Kim <[email protected]>
Date: Thu, 7 May 2020 22:18:21 -0700
Subject: [PATCH] mm: fix build error for mips of process_madvise

kbuild test rebot reported build break of process_madvise for mips[1]. This patch should fix it.

[1] https://lore.kernel.org/linux-mm/202005080716.cUcbCQ3i%25lkp(a)intel.com/

---
 arch/mips/kernel/syscalls/syscall_o32.tbl | 1 +
 1 file changed, 1 insertion(+)
arch/mips/kernel/syscalls/syscall_o32.tbl +1 -0
index ac586774c980..940c7f49a731 100644
@@ -425,3 +425,4 @@
 435	o32	clone3				__sys_clone3
 437	o32	openat2				sys_openat2
 438	o32	pidfd_getfd			sys_pidfd_getfd
+439	o32	process_madvise			sys_process_madvise		compat_sys_process_madvise
Signature · 1 line
2.26.2.645.ge9eca65c58-goog