From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android15-6.6 2/2] arch/arm64/include/asm/kvm_hypevents.h:120:1: warning: no previous prototype for function 'hyp_event_trace_psci_mem_protect'
Date: Wed, 10 Apr 2024 00:08:20 +0800 [thread overview]
Message-ID: <202404092324.OSygPLBb-lkp@intel.com> (raw)
tree: https://android.googlesource.com/kernel/common android15-6.6
head: d7ec982179df2206de37eee40cb129c82748eaad
commit: 455f1b852d3a3914611155c0219ce8f4285cec6d [2/2] ANDROID: KVM: arm64: Add psci_mem_protect hyp event
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20240409/202404092324.OSygPLBb-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 8b3b4a92adee40483c27f26c478a384cd69c6f05)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240409/202404092324.OSygPLBb-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/202404092324.OSygPLBb-lkp@intel.com/
All warnings (new ones prefixed by >>):
| ^
<scratch space>:118:1: note: expanded from here
118 | hyp_event_trace_hyp_enter
| ^
arch/arm64/include/asm/kvm_hypevents.h:14:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/kvm_define_hypevents.h:17:2: note: expanded from macro 'HYP_EVENT'
17 | void hyp_event_trace_##__name(struct ht_iterator *iter) \
| ^
In file included from arch/arm64/kvm/hyp_events.c:14:
In file included from arch/arm64/include/asm/kvm_define_hypevents.h:27:
arch/arm64/include/asm/kvm_hypevents.h:23:1: warning: no previous prototype for function 'hyp_event_trace_hyp_exit' [-Wmissing-prototypes]
23 | HYP_EVENT(hyp_exit,
| ^
arch/arm64/include/asm/kvm_define_hypevents.h:17:7: note: expanded from macro 'HYP_EVENT'
17 | void hyp_event_trace_##__name(struct ht_iterator *iter) \
| ^
<scratch space>:123:1: note: expanded from here
123 | hyp_event_trace_hyp_exit
| ^
arch/arm64/include/asm/kvm_hypevents.h:23:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/kvm_define_hypevents.h:17:2: note: expanded from macro 'HYP_EVENT'
17 | void hyp_event_trace_##__name(struct ht_iterator *iter) \
| ^
In file included from arch/arm64/kvm/hyp_events.c:14:
In file included from arch/arm64/include/asm/kvm_define_hypevents.h:27:
arch/arm64/include/asm/kvm_hypevents.h:32:1: warning: no previous prototype for function 'hyp_event_trace_host_hcall' [-Wmissing-prototypes]
32 | HYP_EVENT(host_hcall,
| ^
arch/arm64/include/asm/kvm_define_hypevents.h:17:7: note: expanded from macro 'HYP_EVENT'
17 | void hyp_event_trace_##__name(struct ht_iterator *iter) \
| ^
<scratch space>:128:1: note: expanded from here
128 | hyp_event_trace_host_hcall
| ^
arch/arm64/include/asm/kvm_hypevents.h:32:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/kvm_define_hypevents.h:17:2: note: expanded from macro 'HYP_EVENT'
17 | void hyp_event_trace_##__name(struct ht_iterator *iter) \
| ^
In file included from arch/arm64/kvm/hyp_events.c:14:
In file included from arch/arm64/include/asm/kvm_define_hypevents.h:27:
arch/arm64/include/asm/kvm_hypevents.h:46:1: warning: no previous prototype for function 'hyp_event_trace_host_smc' [-Wmissing-prototypes]
46 | HYP_EVENT(host_smc,
| ^
arch/arm64/include/asm/kvm_define_hypevents.h:17:7: note: expanded from macro 'HYP_EVENT'
17 | void hyp_event_trace_##__name(struct ht_iterator *iter) \
| ^
<scratch space>:133:1: note: expanded from here
133 | hyp_event_trace_host_smc
| ^
arch/arm64/include/asm/kvm_hypevents.h:46:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/kvm_define_hypevents.h:17:2: note: expanded from macro 'HYP_EVENT'
17 | void hyp_event_trace_##__name(struct ht_iterator *iter) \
| ^
In file included from arch/arm64/kvm/hyp_events.c:14:
In file included from arch/arm64/include/asm/kvm_define_hypevents.h:27:
arch/arm64/include/asm/kvm_hypevents.h:61:1: warning: no previous prototype for function 'hyp_event_trace_host_mem_abort' [-Wmissing-prototypes]
61 | HYP_EVENT(host_mem_abort,
| ^
arch/arm64/include/asm/kvm_define_hypevents.h:17:7: note: expanded from macro 'HYP_EVENT'
17 | void hyp_event_trace_##__name(struct ht_iterator *iter) \
| ^
<scratch space>:138:1: note: expanded from here
138 | hyp_event_trace_host_mem_abort
| ^
arch/arm64/include/asm/kvm_hypevents.h:61:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/kvm_define_hypevents.h:17:2: note: expanded from macro 'HYP_EVENT'
17 | void hyp_event_trace_##__name(struct ht_iterator *iter) \
| ^
In file included from arch/arm64/kvm/hyp_events.c:14:
In file included from arch/arm64/include/asm/kvm_define_hypevents.h:27:
arch/arm64/include/asm/kvm_hypevents.h:75:1: warning: no previous prototype for function 'hyp_event_trace___hyp_printk' [-Wmissing-prototypes]
75 | HYP_EVENT(__hyp_printk,
| ^
arch/arm64/include/asm/kvm_define_hypevents.h:17:7: note: expanded from macro 'HYP_EVENT'
17 | void hyp_event_trace_##__name(struct ht_iterator *iter) \
| ^
<scratch space>:143:1: note: expanded from here
143 | hyp_event_trace___hyp_printk
| ^
arch/arm64/include/asm/kvm_hypevents.h:75:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/kvm_define_hypevents.h:17:2: note: expanded from macro 'HYP_EVENT'
17 | void hyp_event_trace_##__name(struct ht_iterator *iter) \
| ^
In file included from arch/arm64/kvm/hyp_events.c:14:
In file included from arch/arm64/include/asm/kvm_define_hypevents.h:27:
arch/arm64/include/asm/kvm_hypevents.h:95:1: warning: no previous prototype for function 'hyp_event_trace_host_ffa_call' [-Wmissing-prototypes]
95 | HYP_EVENT(host_ffa_call,
| ^
arch/arm64/include/asm/kvm_define_hypevents.h:17:7: note: expanded from macro 'HYP_EVENT'
17 | void hyp_event_trace_##__name(struct ht_iterator *iter) \
| ^
<scratch space>:148:1: note: expanded from here
148 | hyp_event_trace_host_ffa_call
| ^
arch/arm64/include/asm/kvm_hypevents.h:95:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/kvm_define_hypevents.h:17:2: note: expanded from macro 'HYP_EVENT'
17 | void hyp_event_trace_##__name(struct ht_iterator *iter) \
| ^
In file included from arch/arm64/kvm/hyp_events.c:14:
In file included from arch/arm64/include/asm/kvm_define_hypevents.h:27:
>> arch/arm64/include/asm/kvm_hypevents.h:120:1: warning: no previous prototype for function 'hyp_event_trace_psci_mem_protect' [-Wmissing-prototypes]
120 | HYP_EVENT(psci_mem_protect,
| ^
arch/arm64/include/asm/kvm_define_hypevents.h:17:7: note: expanded from macro 'HYP_EVENT'
17 | void hyp_event_trace_##__name(struct ht_iterator *iter) \
| ^
<scratch space>:153:1: note: expanded from here
153 | hyp_event_trace_psci_mem_protect
| ^
arch/arm64/include/asm/kvm_hypevents.h:120:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
arch/arm64/include/asm/kvm_define_hypevents.h:17:2: note: expanded from macro 'HYP_EVENT'
17 | void hyp_event_trace_##__name(struct ht_iterator *iter) \
| ^
arch/arm64/kvm/hyp_events.c:215:6: warning: no previous prototype for function 'hyp_trace_init_event_early' [-Wmissing-prototypes]
215 | bool hyp_trace_init_event_early(void)
| ^
arch/arm64/kvm/hyp_events.c:215:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
215 | bool hyp_trace_init_event_early(void)
| ^
| static
arch/arm64/kvm/hyp_events.c:265:19: warning: no previous prototype for function 'hyp_trace_find_event' [-Wmissing-prototypes]
265 | struct hyp_event *hyp_trace_find_event(int id)
| ^
arch/arm64/kvm/hyp_events.c:265:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
265 | struct hyp_event *hyp_trace_find_event(int id)
| ^
| static
arch/arm64/kvm/hyp_events.c:339:6: warning: no previous prototype for function 'hyp_trace_init_event_tracefs' [-Wmissing-prototypes]
339 | void hyp_trace_init_event_tracefs(struct dentry *parent)
| ^
arch/arm64/kvm/hyp_events.c:339:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
339 | void hyp_trace_init_event_tracefs(struct dentry *parent)
| ^
| static
arch/arm64/kvm/hyp_events.c:361:5: warning: no previous prototype for function 'hyp_trace_init_events' [-Wmissing-prototypes]
361 | int hyp_trace_init_events(void)
| ^
arch/arm64/kvm/hyp_events.c:361:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
361 | int hyp_trace_init_events(void)
| ^
| static
arch/arm64/kvm/hyp_events.c:378:5: warning: no previous prototype for function 'hyp_trace_init_mod_events' [-Wmissing-prototypes]
378 | int hyp_trace_init_mod_events(struct hyp_event *event,
| ^
arch/arm64/kvm/hyp_events.c:378:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
378 | int hyp_trace_init_mod_events(struct hyp_event *event,
| ^
| static
18 warnings generated.
vim +/hyp_event_trace_psci_mem_protect +120 arch/arm64/include/asm/kvm_hypevents.h
94
> 95 HYP_EVENT(host_ffa_call,
96 HE_PROTO(u64 func_id, u64 res_a1, u64 res_a2, u64 res_a3, u64 res_a4, int handled, int err),
97 HE_STRUCT(
98 he_field(u64, func_id)
99 he_field(u64, res_a1)
100 he_field(u64, res_a2)
101 he_field(u64, res_a3)
102 he_field(u64, res_a4)
103 he_field(int, handled)
104 he_field(int, err)
105 ),
106 HE_ASSIGN(
107 __entry->func_id = func_id;
108 __entry->res_a1 = res_a1;
109 __entry->res_a2 = res_a2;
110 __entry->res_a3 = res_a3;
111 __entry->res_a4 = res_a4;
112 __entry->handled = handled;
113 __entry->err = err;
114 ),
115 HE_PRINTK("ffa_func=0x%llx a1=0x%llx a2=0x%llx a3=0x%llx a4=%llx handled=%d err=%d",
116 __entry->func_id, __entry->res_a1, __entry->res_a2,
117 __entry->res_a3, __entry->res_a4, __entry->handled, __entry->err)
118 );
119
> 120 HYP_EVENT(psci_mem_protect,
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2024-04-09 16:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-09 16:08 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-12-19 6:33 [android-common:android15-6.6 2/2] arch/arm64/include/asm/kvm_hypevents.h:120:1: warning: no previous prototype for function 'hyp_event_trace_psci_mem_protect' kernel test robot
2026-04-07 3:56 kernel test robot
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=202404092324.OSygPLBb-lkp@intel.com \
--to=lkp@intel.com \
--cc=cros-kernel-buildreports@googlegroups.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 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.