* [xen-tip:linux-next 19/23] arch/x86/xen/pmu.c:18:1: sparse: symbol '__pcpu_scope_xenpmu_shared' was not declared. Should it be static?
@ 2015-08-11 12:04 kbuild test robot
2015-08-11 12:04 ` [PATCH xen-tip] xen/PMU: __pcpu_scope_xenpmu_shared can be static kbuild test robot
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2015-08-11 12:04 UTC (permalink / raw)
To: Boris Ostrovsky
Cc: kbuild-all, David Vrabel, Konrad Rzeszutek Wilk, Thomas Gleixner,
Ingo Molnar, H. Peter Anvin, x86, xen-devel, linux-kernel
tree: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip linux-next
head: 0d26d72cab825a0227c8d8e0e42161125b3116fd
commit: 9cd3857a7d89a259870c6ee6994f5ef41511654c [19/23] xen/PMU: Initialization code for Xen PMU
reproduce:
# apt-get install sparse
git checkout 9cd3857a7d89a259870c6ee6994f5ef41511654c
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__
sparse warnings: (new ones prefixed by >>)
>> arch/x86/xen/pmu.c:18:1: sparse: symbol '__pcpu_scope_xenpmu_shared' was not declared. Should it be static?
Please review and possibly fold the followup patch.
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH xen-tip] xen/PMU: __pcpu_scope_xenpmu_shared can be static
2015-08-11 12:04 [xen-tip:linux-next 19/23] arch/x86/xen/pmu.c:18:1: sparse: symbol '__pcpu_scope_xenpmu_shared' was not declared. Should it be static? kbuild test robot
@ 2015-08-11 12:04 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2015-08-11 12:04 UTC (permalink / raw)
To: Boris Ostrovsky
Cc: kbuild-all, David Vrabel, Konrad Rzeszutek Wilk, Thomas Gleixner,
Ingo Molnar, H. Peter Anvin, x86, xen-devel, linux-kernel
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
pmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/xen/pmu.c b/arch/x86/xen/pmu.c
index 7218cea..1d1ae1b 100644
--- a/arch/x86/xen/pmu.c
+++ b/arch/x86/xen/pmu.c
@@ -15,7 +15,7 @@
/* Shared page between hypervisor and domain */
-DEFINE_PER_CPU(struct xen_pmu_data *, xenpmu_shared);
+static DEFINE_PER_CPU(struct xen_pmu_data *, xenpmu_shared);
#define get_xenpmu_data() per_cpu(xenpmu_shared, smp_processor_id())
/* perf callbacks */
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-11 12:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-11 12:04 [xen-tip:linux-next 19/23] arch/x86/xen/pmu.c:18:1: sparse: symbol '__pcpu_scope_xenpmu_shared' was not declared. Should it be static? kbuild test robot
2015-08-11 12:04 ` [PATCH xen-tip] xen/PMU: __pcpu_scope_xenpmu_shared can be static kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®