Re: [peterz-queue:sched/core 14/15] kernel/sched/core.c:9815:43: error: passing argument 1 of 'zalloc_cpumask_var_node' from incompatible pointer type

From: Peter Zijlstra
Date: Thu Oct 13 2022 - 11:03:46 EST


On Thu, Oct 13, 2022 at 09:49:01PM +0800, kernel test robot wrote:

> > 9815 zalloc_cpumask_var_node(rq->scratch_mask, GFP_KERNEL, cpu_to_node(i));

zalloc_cpumask_var_node(&rq->scratch_mask, GFP_KERNEL, cpu_to_node(i));

seems to work better.