On 2020/6/18 6:33, kernel test robot wrote:
Hi Xiaoming,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on next-20200616]
[cannot apply to tip/perf/core arm/for-next tip/x86/asm linus/master v5.8-rc1 v5.7
v5.7-rc7 v5.8-rc1]
[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/Xiaoming-Ni/All-arch-remove-syst...
base: 27f70ec4fa0e0f419031f1b8d61b1a788244e313
config: s390-randconfig-r005-20200617 (attached as .config)
compiler: clang version 11.0.0 (
https://github.com/llvm/llvm-project
487ca07fcc75d52755c9fe2ee05bcb3b6eeeec44)
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 s390 cross compiling tool for clang build
# apt-get install binutils-s390-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
s390x-linux-gnu-ld: arch/s390/kernel/entry.o: in function `sys_call_table_emu':
>> (.rodata+0x1288): undefined reference to `__s390_'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Sorry, I don't have a s390 compiler locally
Can you help verify the fix patch
Thanks
Xiaoming Ni
----------------
[PATCH] s390: fix build error for sys_call_table_emu
s390x-linux-gnu-ld: arch/s390/kernel/entry.o: in function
`sys_call_table_emu':
> (.rodata+0x1288): undefined reference to `__s390_'
Fixes: 36965c4e82b6bc33 ("All arch: remove system call sys_sysctl")
Reported-by: kernel test robot <lkp(a)intel.com>
Signed-off-by: Xiaoming Ni <nixiaoming(a)huawei.com>
---
arch/s390/kernel/syscalls/syscall.tbl | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/s390/kernel/syscalls/syscall.tbl
b/arch/s390/kernel/syscalls/syscall.tbl
index f17aaf6fe5de..bcaf93994e3c 100644
--- a/arch/s390/kernel/syscalls/syscall.tbl
+++ b/arch/s390/kernel/syscalls/syscall.tbl
@@ -138,7 +138,6 @@
146 common writev sys_writev
compat_sys_writev
147 common getsid sys_getsid
sys_getsid
148 common fdatasync sys_fdatasync
sys_fdatasync
-149 common _sysctl sys_ni_syscall
150 common mlock sys_mlock
sys_mlock
151 common munlock sys_munlock
sys_munlock
152 common mlockall sys_mlockall
sys_mlockall
--
2.27.0