Content-Type: multipart/mixed; boundary="===============4721090676462984570==" MIME-Version: 1.0 From: Xiaoming Ni To: kbuild-all@lists.01.org Subject: Re: [PATCH v3] All arch: remove system call sys_sysctl Date: Thu, 18 Jun 2020 14:41:27 +0800 Message-ID: <19d7b373-847b-72bd-bdd7-d71d31d0aaf4@huawei.com> In-Reply-To: <33c2ec0d-6050-5c1b-6f84-59f0b3f06404@huawei.com> List-Id: --===============4721090676462984570== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 2020/6/18 11:49, Xiaoming Ni wrote: > 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-sys= tem-call-sys_sysctl/20200616-130918 = >> >> base:=C2=A0=C2=A0=C2=A0 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=3D1 build): >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 wget = >> https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross = >> -O ~/bin/make.cross >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 chmod +x ~/bin/make.cro= ss >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # install s390 cross co= mpiling tool for clang build >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # apt-get install binut= ils-s390-linux-gnu >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # save the attached .co= nfig to linux build tree >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 COMPILER_INSTALL_PATH= =3D$HOME/0day COMPILER=3Dclang make.cross = >> ARCH=3Ds390 >> >> If you fix the issue, kindly add following tag as appropriate >> Reported-by: kernel test robot >> >> 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(a)lists.01.org >> > = > Sorry, I don't have a s390 compiler locally > Can you help verify the fix patch > = > Thanks > Xiaoming Ni > = update patch for tools/perf/arch/s390/entry/syscalls/syscall.tbl ---------------- Subject: [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 Signed-off-by: Xiaoming Ni --- arch/s390/kernel/syscalls/syscall.tbl | 1 - tools/perf/arch/s390/entry/syscalls/syscall.tbl | 1 - 2 files changed, 2 deletions(-) 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 diff --git a/tools/perf/arch/s390/entry/syscalls/syscall.tbl = b/tools/perf/arch/s390/entry/syscalls/syscall.tbl index 0193f9b98753..eb77d0d01d8f 100644 --- a/tools/perf/arch/s390/entry/syscalls/syscall.tbl +++ b/tools/perf/arch/s390/entry/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 = compat_sys_mlock 151 common munlock sys_munlock = compat_sys_munlock 152 common mlockall sys_mlockall = sys_mlockall -- 2.27 --===============4721090676462984570==--