All of lore.kernel.org
 help / color / mirror / Atom feed
* [mark:arm64/stacktrace/kunwind 1/2] arch/arm64/kernel/stacktrace.c:117:42: error: 'struct kunwind_state' has no member named 'pc'
@ 2023-11-08 22:54 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-11-08 22:54 UTC (permalink / raw)
  To: Mark Rutland; +Cc: oe-kbuild-all

Hi Mark,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git arm64/stacktrace/kunwind
head:   73ada9012201d97bd158a87e5cc0cd0c2af7c20b
commit: d8a9a6ecc87ed6e6e2e0354e56239b415c1cec67 [1/2] arm64: stacktrace: factor out kernel unwind state
config: arm64-randconfig-004-20231108 (https://download.01.org/0day-ci/archive/20231109/202311090655.NIPmhCSC-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231109/202311090655.NIPmhCSC-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/202311090655.NIPmhCSC-lkp@intel.com/

All errors (new ones prefixed by >>):

   arch/arm64/kernel/stacktrace.c: In function 'kunwind_recover_return_address':
>> arch/arm64/kernel/stacktrace.c:117:42: error: 'struct kunwind_state' has no member named 'pc'
     117 |         if (is_kretprobe_trampoline(state->pc)) {
         |                                          ^~
   arch/arm64/kernel/stacktrace.c:118:22: error: 'struct kunwind_state' has no member named 'pc'
     118 |                 state->pc = kretprobe_find_ret_addr(state->task,
         |                      ^~
>> arch/arm64/kernel/stacktrace.c:119:66: error: 'struct kunwind_state' has no member named 'fp'
     119 |                                                     (void *)state->fp,
         |                                                                  ^~


vim +117 arch/arm64/kernel/stacktrace.c

9e09d445f1cab5 Mark Rutland 2023-04-11  115  
9e09d445f1cab5 Mark Rutland 2023-04-11  116  #ifdef CONFIG_KRETPROBES
9e09d445f1cab5 Mark Rutland 2023-04-11 @117  	if (is_kretprobe_trampoline(state->pc)) {
9e09d445f1cab5 Mark Rutland 2023-04-11  118  		state->pc = kretprobe_find_ret_addr(state->task,
9e09d445f1cab5 Mark Rutland 2023-04-11 @119  						    (void *)state->fp,
9e09d445f1cab5 Mark Rutland 2023-04-11  120  						    &state->kr_cur);
9e09d445f1cab5 Mark Rutland 2023-04-11  121  	}
9e09d445f1cab5 Mark Rutland 2023-04-11  122  #endif /* CONFIG_KRETPROBES */
9e09d445f1cab5 Mark Rutland 2023-04-11  123  
9e09d445f1cab5 Mark Rutland 2023-04-11  124  	return 0;
9e09d445f1cab5 Mark Rutland 2023-04-11  125  }
9e09d445f1cab5 Mark Rutland 2023-04-11  126  

:::::: The code at line 117 was first introduced by commit
:::::: 9e09d445f1cab518eedf4454d119ead27979b8f4 arm64: stacktrace: recover return address for first entry

:::::: TO: Mark Rutland <mark.rutland@arm.com>
:::::: CC: Will Deacon <will@kernel.org>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-08 22:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-08 22:54 [mark:arm64/stacktrace/kunwind 1/2] arch/arm64/kernel/stacktrace.c:117:42: error: 'struct kunwind_state' has no member named 'pc' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.