[android-common:android14-kiwi-6.1 192/192] arch/arm64/kvm/hyp_trace.c:245:6: warning: no previous prototype for function 'hyp_poke_tracing'
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
tree: https://android.googlesource.com/kernel/common android14-kiwi-6.1 head: 15bdff0dd01eed4ffc4ae138c5a611d8b102a4b6 commit: a262be0c417b3b3b6c6390f34b468049fab254e1 [192/192] ANDROID: KVM: arm64: Flush hyp trace pipe when tracing stops config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20260718/[email protected]/config) compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 5c0dfced1adc55429e32b1db08570abd3a219d85) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260718/[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 <built-in>:3: In file included from include/linux/compiler_types.h:94: include/linux/compiler-clang.h:24:9: warning: '__SANITIZE_ADDRESS__' macro redefined [-Wmacro-redefined] 24 | #define __SANITIZE_ADDRESS__ | ^ <built-in>:371:9: note: previous definition is here 371 | #define __SANITIZE_ADDRESS__ 1 | ^ >> arch/arm64/kvm/hyp_trace.c:245:6: warning: no previous prototype for function 'hyp_poke_tracing' [-Wmissing-prototypes] 245 | void hyp_poke_tracing(int cpu, const struct cpumask *cpus) | ^ arch/arm64/kvm/hyp_trace.c:245:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 245 | void hyp_poke_tracing(int cpu, const struct cpumask *cpus) | ^ | static arch/arm64/kvm/hyp_trace.c:713:5: warning: no previous prototype for function 'hyp_trace_release' [-Wmissing-prototypes] 713 | int hyp_trace_release(struct inode *inode, struct file *file) | ^ arch/arm64/kvm/hyp_trace.c:713:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 713 | int hyp_trace_release(struct inode *inode, struct file *file) | ^ | static 3 warnings generated. vim +/hyp_poke_tracing +245 arch/arm64/kvm/hyp_trace.c 244 > 245 void hyp_poke_tracing(int cpu, const struct cpumask *cpus) 246 { 247 if (cpu == RING_BUFFER_ALL_CPUS) { 248 for_each_cpu(cpu, cpus) 249 WARN_ON_ONCE(ring_buffer_poke(hyp_trace_buffer, cpu)); 250 } else { 251 WARN_ON_ONCE(ring_buffer_poke(hyp_trace_buffer, cpu)); 252 } 253 } 254 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki