tree: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git arm-kill-set_fs-10 head: a6e0b06b967960c7e0a64bf10b8d1b7afaa4008e commit: c82f8f787b772d6981925ca52172a8ff3f71096a [4/9] ARM: syscall: always store thread_info->syscall config: arm-buildonly-randconfig-r004-20210722 (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 10.3.0 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 # https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git/commit/?id=c82f8f787b772d6981925ca52172a8ff3f71096a git remote add arnd-playground https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git git fetch --no-tags arnd-playground arm-kill-set_fs-10 git checkout c82f8f787b772d6981925ca52172a8ff3f71096a # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash arch/arm/kernel/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): arch/arm/kernel/ptrace.c: In function 'arch_ptrace': >> arch/arm/kernel/ptrace.c:815:29: error: 'struct thread_info' has no member named 'syscall'; did you mean 'abi_syscall'? 815 | task_thread_info(child)->syscall = data; | ^~~~~~~ | abi_syscall arch/arm/kernel/ptrace.c: In function 'tracehook_report_syscall': arch/arm/kernel/ptrace.c:884:26: error: 'struct thread_info' has no member named 'syscall'; did you mean 'abi_syscall'? 884 | current_thread_info()->syscall = -1; | ^~~~~~~ | abi_syscall arch/arm/kernel/ptrace.c: At top level: arch/arm/kernel/ptrace.c:889:16: warning: no previous prototype for 'syscall_trace_enter' [-Wmissing-prototypes] 889 | asmlinkage int syscall_trace_enter(struct pt_regs *regs) | ^~~~~~~~~~~~~~~~~~~ arch/arm/kernel/ptrace.c:917:17: warning: no previous prototype for 'syscall_trace_exit' [-Wmissing-prototypes] 917 | asmlinkage void syscall_trace_exit(struct pt_regs *regs) | ^~~~~~~~~~~~~~~~~~ vim +815 arch/arm/kernel/ptrace.c ^1da177e4c3f41 Linus Torvalds 2005-04-16 808 ^1da177e4c3f41 Linus Torvalds 2005-04-16 809 case PTRACE_GET_THREAD_AREA: a4780adeefd042 André Hentschel 2013-06-18 810 ret = put_user(task_thread_info(child)->tp_value[0], b640a0d192265c Namhyung Kim 2010-10-27 811 datap); ^1da177e4c3f41 Linus Torvalds 2005-04-16 812 break; ^1da177e4c3f41 Linus Torvalds 2005-04-16 813 3f471126ee53fe Nicolas Pitre 2006-01-14 814 case PTRACE_SET_SYSCALL: 5ba6d3febd4978 Russell King 2007-05-06 @815 task_thread_info(child)->syscall = data; 3f471126ee53fe Nicolas Pitre 2006-01-14 816 ret = 0; 3f471126ee53fe Nicolas Pitre 2006-01-14 817 break; 3f471126ee53fe Nicolas Pitre 2006-01-14 818 :::::: The code at line 815 was first introduced by commit :::::: 5ba6d3febd4978f31b2c523d64d381603923a709 [ARM] Move syscall saving out of the way of utrace :::::: TO: Russell King :::::: CC: Russell King --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org