[android-common:android15-6.6 2/2] arch/arm64/include/asm/kvm_define_hypevents.h:17:7: warning: no previous prototype for 'hyp_event_trace_host_hcall'
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
Hi Vincent, FYI, the error/warning still remains. tree: https://android.googlesource.com/kernel/common android15-6.6 head: 24c059d9e217f32d61570fdbd7eb66bc999657a9 commit: 21219611de5b7057f779bc35ec6e09821942e7f4 [2/2] ANDROID: KVM: arm64: Add EL2 wakeup cause hyp events config: arm64-randconfig-004-20260816 (https://download.01.org/0day-ci/archive/20260817/[email protected]/config) compiler: aarch64-linux-gcc (GCC) 10.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260817/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All warnings (new ones prefixed by >>): In file included from arch/arm64/kvm/hyp_events.c:9: arch/arm64/include/asm/kvm_define_hypevents.h:17:7: warning: no previous prototype for 'hyp_event_trace_hyp_enter' [-Wmissing-prototypes] 17 | void hyp_event_trace_##__name(struct ht_iterator *iter) \ | ^~~~~~~~~~~~~~~~ arch/arm64/include/asm/kvm_hypevents.h:14:1: note: in expansion of macro 'HYP_EVENT' 14 | HYP_EVENT(hyp_enter, | ^~~~~~~~~ arch/arm64/include/asm/kvm_define_hypevents.h:17:7: warning: no previous prototype for 'hyp_event_trace_hyp_exit' [-Wmissing-prototypes] 17 | void hyp_event_trace_##__name(struct ht_iterator *iter) \ | ^~~~~~~~~~~~~~~~ arch/arm64/include/asm/kvm_hypevents.h:23:1: note: in expansion of macro 'HYP_EVENT' 23 | HYP_EVENT(hyp_exit, | ^~~~~~~~~ >> arch/arm64/include/asm/kvm_define_hypevents.h:17:7: warning: no previous prototype for 'hyp_event_trace_host_hcall' [-Wmissing-prototypes] 17 | void hyp_event_trace_##__name(struct ht_iterator *iter) \ | ^~~~~~~~~~~~~~~~ arch/arm64/include/asm/kvm_hypevents.h:32:1: note: in expansion of macro 'HYP_EVENT' 32 | HYP_EVENT(host_hcall, | ^~~~~~~~~ >> arch/arm64/include/asm/kvm_define_hypevents.h:17:7: warning: no previous prototype for 'hyp_event_trace_host_smc' [-Wmissing-prototypes] 17 | void hyp_event_trace_##__name(struct ht_iterator *iter) \ | ^~~~~~~~~~~~~~~~ arch/arm64/include/asm/kvm_hypevents.h:46:1: note: in expansion of macro 'HYP_EVENT' 46 | HYP_EVENT(host_smc, | ^~~~~~~~~ >> arch/arm64/include/asm/kvm_define_hypevents.h:17:7: warning: no previous prototype for 'hyp_event_trace_host_mem_abort' [-Wmissing-prototypes] 17 | void hyp_event_trace_##__name(struct ht_iterator *iter) \ | ^~~~~~~~~~~~~~~~ arch/arm64/include/asm/kvm_hypevents.h:61:1: note: in expansion of macro 'HYP_EVENT' 61 | HYP_EVENT(host_mem_abort, | ^~~~~~~~~ arch/arm64/kvm/hyp_events.c:198:6: warning: no previous prototype for 'hyp_trace_init_event_early' [-Wmissing-prototypes] 198 | bool hyp_trace_init_event_early(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/kvm/hyp_events.c:233:6: warning: no previous prototype for 'hyp_trace_init_event_tracefs' [-Wmissing-prototypes] 233 | void hyp_trace_init_event_tracefs(struct dentry *parent) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/kvm/hyp_events.c:268:19: warning: no previous prototype for 'hyp_trace_find_event' [-Wmissing-prototypes] 268 | struct hyp_event *hyp_trace_find_event(int id) | ^~~~~~~~~~~~~~~~~~~~ arch/arm64/kvm/hyp_events.c:281:5: warning: no previous prototype for 'hyp_trace_init_events' [-Wmissing-prototypes] 281 | int hyp_trace_init_events(void) | ^~~~~~~~~~~~~~~~~~~~~ vim +/hyp_event_trace_host_hcall +17 arch/arm64/include/asm/kvm_define_hypevents.h f6dbfc683cf5fbb Vincent Donnefort 2023-01-26 14 f6dbfc683cf5fbb Vincent Donnefort 2023-01-26 15 #define HYP_EVENT(__name, __proto, __struct, __assign, __printk) \ f6dbfc683cf5fbb Vincent Donnefort 2023-01-26 16 HYP_EVENT_FORMAT(__name, __struct); \ f6dbfc683cf5fbb Vincent Donnefort 2023-01-26 @17 void hyp_event_trace_##__name(struct ht_iterator *iter) \ f6dbfc683cf5fbb Vincent Donnefort 2023-01-26 18 { \ f6dbfc683cf5fbb Vincent Donnefort 2023-01-26 19 struct trace_hyp_format_##__name __maybe_unused *__entry = \ f6dbfc683cf5fbb Vincent Donnefort 2023-01-26 20 (struct trace_hyp_format_##__name *)iter->ent; \ f6dbfc683cf5fbb Vincent Donnefort 2023-01-26 21 trace_seq_puts(&iter->seq, #__name); \ f6dbfc683cf5fbb Vincent Donnefort 2023-01-26 22 trace_seq_putc(&iter->seq, ' '); \ f6dbfc683cf5fbb Vincent Donnefort 2023-01-26 23 trace_seq_printf(&iter->seq, __printk); \ f6dbfc683cf5fbb Vincent Donnefort 2023-01-26 24 trace_seq_putc(&iter->seq, '\n'); \ f6dbfc683cf5fbb Vincent Donnefort 2023-01-26 25 } f6dbfc683cf5fbb Vincent Donnefort 2023-01-26 26 #define HYP_EVENT_MULTI_READ f6dbfc683cf5fbb Vincent Donnefort 2023-01-26 27 #include __HYP_EVENT_FILE f6dbfc683cf5fbb Vincent Donnefort 2023-01-26 28 :::::: The code at line 17 was first introduced by commit :::::: f6dbfc683cf5fbbd37b6fdead1b5b08912cf6570 ANDROID: KVM: arm64: Add support for nVHE hyp events :::::: TO: Vincent Donnefort <[email protected]> :::::: CC: Fuad Tabba <[email protected]> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki