LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [clk:test-sched-packing-tasks-freq 10820/10847] kernel/sched/fair.c:199:1: sparse: symbol '__pcpu_scope_sd_pack_buddy' was not declared. Should it be static?
@ 2015-01-24 2:44 kbuild test robot
2015-01-24 2:44 ` [PATCH clk] sched: __pcpu_scope_sd_pack_buddy can be static kbuild test robot
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2015-01-24 2:44 UTC (permalink / raw)
To: Vincent Guittot; +Cc: kbuild-all, Ingo Molnar, Peter Zijlstra, linux-kernel
tree: https://git.linaro.org/people/mturquette/linux.git test-sched-packing-tasks-freq
head: 3add111981928a9ce810cd1b1956dc39e6c2445f
commit: 9cb183281a03911e724a648832d9f096c09197fe [10820/10847] sched: packing tasks
reproduce:
# apt-get install sparse
git checkout 9cb183281a03911e724a648832d9f096c09197fe
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__
sparse warnings: (new ones prefixed by >>)
kernel/sched/fair.c:51:14: sparse: symbol 'normalized_sysctl_sched_latency' was not declared. Should it be static?
kernel/sched/fair.c:70:14: sparse: symbol 'normalized_sysctl_sched_min_granularity' was not declared. Should it be static?
kernel/sched/fair.c:92:14: sparse: symbol 'normalized_sysctl_sched_wakeup_granularity' was not declared. Should it be static?
>> kernel/sched/fair.c:199:1: sparse: symbol '__pcpu_scope_sd_pack_buddy' was not declared. Should it be static?
kernel/sched/sched.h:765:9: sparse: incompatible types in comparison expression (different address spaces)
kernel/sched/fair.c:249:22: sparse: incompatible types in comparison expression (different address spaces)
kernel/sched/fair.c:4993:14: sparse: incompatible types in comparison expression (different address spaces)
kernel/sched/fair.c:1666:14: sparse: incompatible types in comparison expression (different address spaces)
kernel/sched/fair.c:2168:15: sparse: incompatible types in comparison expression (different address spaces)
kernel/sched/fair.c:7571:22: sparse: incompatible types in comparison expression (different address spaces)
kernel/sched/fair.c:7586:9: sparse: incompatible types in comparison expression (different address spaces)
kernel/sched/fair.c:5070:9: sparse: incompatible types in comparison expression (different address spaces)
kernel/sched/fair.c:5126:17: sparse: incompatible types in comparison expression (different address spaces)
kernel/sched/fair.c:5706:41: sparse: incompatible types in comparison expression (different address spaces)
kernel/sched/fair.c:5742:41: sparse: incompatible types in comparison expression (different address spaces)
kernel/sched/fair.c:7688:9: sparse: incompatible types in comparison expression (different address spaces)
kernel/sched/fair.c:7755:17: sparse: incompatible types in comparison expression (different address spaces)
kernel/sched/fair.c:7839:14: sparse: incompatible types in comparison expression (different address spaces)
kernel/sched/fair.c:7727:16: sparse: incompatible types in comparison expression (different address spaces)
kernel/sched/fair.c:7921:9: sparse: incompatible types in comparison expression (different address spaces)
kernel/sched/fair.c:7727:16: sparse: incompatible types in comparison expression (different address spaces)
kernel/sched/fair.c:7822:14: sparse: incompatible types in comparison expression (different address spaces)
kernel/sched/fair.c:8091:14: sparse: incompatible types in comparison expression (different address spaces)
kernel/sched/fair.c:8103:14: sparse: incompatible types in comparison expression (different address spaces)
kernel/sched/fair.c:8112:14: sparse: incompatible types in comparison expression (different address spaces)
Please review and possibly fold the followup patch.
---
0-DAY kernel test infrastructure Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH clk] sched: __pcpu_scope_sd_pack_buddy can be static
2015-01-24 2:44 [clk:test-sched-packing-tasks-freq 10820/10847] kernel/sched/fair.c:199:1: sparse: symbol '__pcpu_scope_sd_pack_buddy' was not declared. Should it be static? kbuild test robot
@ 2015-01-24 2:44 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2015-01-24 2:44 UTC (permalink / raw)
To: Vincent Guittot; +Cc: kbuild-all, Ingo Molnar, Peter Zijlstra, linux-kernel
kernel/sched/fair.c:199:1: sparse: symbol '__pcpu_scope_sd_pack_buddy' was not declared. Should it be static?
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
fair.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index d48d07c..7d8d5c4 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -196,7 +196,7 @@ struct sd_pack {
* Save per_cpu information about the optimal CPUs that should be used to pack
* tasks.
*/
-DEFINE_PER_CPU(struct sd_pack, sd_pack_buddy) = {
+static DEFINE_PER_CPU(struct sd_pack, sd_pack_buddy) = {
.packing = true,
};
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-24 2:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-24 2:44 [clk:test-sched-packing-tasks-freq 10820/10847] kernel/sched/fair.c:199:1: sparse: symbol '__pcpu_scope_sd_pack_buddy' was not declared. Should it be static? kbuild test robot
2015-01-24 2:44 ` [PATCH clk] sched: __pcpu_scope_sd_pack_buddy 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;
as well as URLs for NNTP newsgroup(s).