tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 29e400e3ea486bf942b214769fc9778098114113 commit: fd5d27b70188379bb441d404c29a0afb111e1753 [5228/6333] arch/x86: Implement arch_bpf_stack_walk config: x86_64-randconfig-161-20230919 (https://download.01.org/0day-ci/archive/20230920/202309200500.jcqrmwKs-lkp@xxxxxxxxx/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230920/202309200500.jcqrmwKs-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202309200500.jcqrmwKs-lkp@xxxxxxxxx/ Note: the linux-next/master HEAD 29e400e3ea486bf942b214769fc9778098114113 builds fine. It may have been fixed somewhere. All errors (new ones prefixed by >>): arch/x86/net/bpf_jit_comp.c: In function 'arch_bpf_stack_walk': >> arch/x86/net/bpf_jit_comp.c:2957:72: error: 'struct unwind_state' has no member named 'sp'; did you mean 'bp'? 2957 | if (!addr || !consume_fn(cookie, (u64)addr, (u64)state.sp, (u64)state.bp)) | ^~ | bp vim +2957 arch/x86/net/bpf_jit_comp.c 2947 2948 void arch_bpf_stack_walk(bool (*consume_fn)(void *cookie, u64 ip, u64 sp, u64 bp), void *cookie) 2949 { 2950 #if defined(CONFIG_UNWINDER_ORC) || defined(CONFIG_UNWINDER_FRAME_POINTER) 2951 struct unwind_state state; 2952 unsigned long addr; 2953 2954 for (unwind_start(&state, current, NULL, NULL); !unwind_done(&state); 2955 unwind_next_frame(&state)) { 2956 addr = unwind_get_return_address(&state); > 2957 if (!addr || !consume_fn(cookie, (u64)addr, (u64)state.sp, (u64)state.bp)) -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki