From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android14-6.1 8761/11052] arch/arm64/kvm/hyp_trace.c:245:6: warning: no previous prototype for function 'hyp_poke_tracing'
Date: Tue, 18 Jul 2023 08:58:57 +0800 [thread overview]
Message-ID: <202307180847.OFzzXBso-lkp@intel.com> (raw)
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
reply other threads:[~2023-07-18 0:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202307180847.OFzzXBso-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.