* [mark:stacktrace/tests 30/30] lib/stacktrace_kunit.c:901:40: error: use of undeclared identifier 'kp_addr'
@ 2024-06-05 21:42 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-06-05 21:42 UTC (permalink / raw)
To: Mark Rutland; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git stacktrace/tests
head: b355c7c11a4a1cec3478bc7a2f129638d9b5116d
commit: b355c7c11a4a1cec3478bc7a2f129638d9b5116d [30/30] WIP: lib: add more stacktracing tests
config: i386-buildonly-randconfig-005-20240606 (https://download.01.org/0day-ci/archive/20240606/202406060529.9sHU462i-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240606/202406060529.9sHU462i-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/202406060529.9sHU462i-lkp@intel.com/
All errors (new ones prefixed by >>):
>> lib/stacktrace_kunit.c:901:40: error: use of undeclared identifier 'kp_addr'
901 | kunit_info(test, "hit kprobe at %pS", kp_addr);
| ^
>> lib/stacktrace_kunit.c:901:40: error: use of undeclared identifier 'kp_addr'
2 errors generated.
vim +/kp_addr +901 lib/stacktrace_kunit.c
884
885 static void __do_test_one_async_kp(struct kunit *test,
886 callee_t callee,
887 const void *tracee,
888 kprobe_pre_handler_t kp_handler,
889 std_expect_t expect)
890 {
891 struct stacktrace_test_data *std = test->priv;
892
893 if (!__do_kprobe_unwind(test, callee, tracee, kp_handler))
894 return;
895
896 if (!std->hit) {
897 kunit_info(test, "did not hit kprobe at %pS", tracee);
898 return;
899 }
900
> 901 kunit_info(test, "hit kprobe at %pS", kp_addr);
902
903 expect(test, std);
904 }
905
--
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:[~2024-06-05 21:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-05 21:42 [mark:stacktrace/tests 30/30] lib/stacktrace_kunit.c:901:40: error: use of undeclared identifier 'kp_addr' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox