From: kernel test robot <lkp@intel.com>
To: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev,
Linux Memory Management List <linux-mm@kvack.org>,
Alexei Starovoitov <ast@kernel.org>
Subject: [linux-next:master 5228/6333] arch/x86/net/bpf_jit_comp.c:2957:72: error: 'struct unwind_state' has no member named 'sp'; did you mean 'bp'?
Date: Wed, 20 Sep 2023 05:36:26 +0800 [thread overview]
Message-ID: <202309200500.jcqrmwKs-lkp@intel.com> (raw)
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@intel.com/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@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309200500.jcqrmwKs-lkp@intel.com/
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
reply other threads:[~2023-09-19 21:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202309200500.jcqrmwKs-lkp@intel.com \
--to=lkp@intel.com \
--cc=ast@kernel.org \
--cc=linux-mm@kvack.org \
--cc=memxor@gmail.com \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox