linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [mmotm:master 432/471] kernel/sched/rt.c:1451:39: sparse: incorrect type in initializer (different address spaces)
@ 2014-03-08 21:48 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2014-03-08 21:48 UTC (permalink / raw)
  To: Christoph Lameter
  Cc: Linux Memory Management List, Andrew Morton, Johannes Weiner, kbuild-all

tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   f6bf2766c2091cbf8ffcc2c5009875dbdb678282
commit: 4a46dca81e38ce94eb5c2ba6f35d6e4bf4c86664 [432/471] scheduler: replace __get_cpu_var with this_cpu_ptr
reproduce: make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

>> kernel/sched/rt.c:1451:39: sparse: incorrect type in initializer (different address spaces)
   kernel/sched/rt.c:1451:39:    expected void const [noderef] <asn:3>*__vpp_verify
   kernel/sched/rt.c:1451:39:    got struct cpumask *<noident>
   kernel/sched/rt.c:1484:9: sparse: incompatible types in comparison expression (different address spaces)

vim +1451 kernel/sched/rt.c

  1435		if (!has_pushable_tasks(rq))
  1436			return NULL;
  1437	
  1438		plist_for_each_entry(p, head, pushable_tasks) {
  1439			if (pick_rt_task(rq, p, cpu))
  1440				return p;
  1441		}
  1442	
  1443		return NULL;
  1444	}
  1445	
  1446	static DEFINE_PER_CPU(cpumask_var_t, local_cpu_mask);
  1447	
  1448	static int find_lowest_rq(struct task_struct *task)
  1449	{
  1450		struct sched_domain *sd;
> 1451		struct cpumask *lowest_mask = this_cpu_ptr(local_cpu_mask);
  1452		int this_cpu = smp_processor_id();
  1453		int cpu      = task_cpu(task);
  1454	
  1455		/* Make sure the mask is initialized first */
  1456		if (unlikely(!lowest_mask))
  1457			return -1;
  1458	
  1459		if (task->nr_cpus_allowed == 1)

---
0-DAY kernel build testing backend              Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-03-08 21:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-08 21:48 [mmotm:master 432/471] kernel/sched/rt.c:1451:39: sparse: incorrect type in initializer (different address spaces) 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