* [android-common:android14-6.1 8761/11052] arch/arm64/kvm/hyp_trace.c:245:6: warning: no previous prototype for function 'hyp_poke_tracing'
@ 2023-07-18 0:58 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-07-18 0:58 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android14-6.1
head: a16d62a2960b9f3c3e809d8051accf68826f3d32
commit: a262be0c417b3b3b6c6390f34b468049fab254e1 [8761/11052] ANDROID: KVM: arm64: Flush hyp trace pipe when tracing stops
config: arm64-randconfig-r031-20230717 (https://download.01.org/0day-ci/archive/20230718/202307180847.OFzzXBso-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce: (https://download.01.org/0day-ci/archive/20230718/202307180847.OFzzXBso-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/202307180847.OFzzXBso-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/arm64/kvm/hyp_trace.c:245:6: warning: no previous prototype for function 'hyp_poke_tracing' [-Wmissing-prototypes]
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
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]
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
int hyp_trace_release(struct inode *inode, struct file *file)
^
static
2 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-18 0:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-18 0:58 [android-common:android14-6.1 8761/11052] arch/arm64/kvm/hyp_trace.c:245:6: warning: no previous prototype for function 'hyp_poke_tracing' 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.