sched_ext: Return NULL in llc_span
PATCH 1/1 sched_ext: Return NULL in llc_span
Use NULL instead of 0 to signal no LLC domain, matching numa_span() and the function comment.
No functional change.
Signed-off-by Cheng-Yang Chou <[email protected]>
--- kernel/sched/ext_idle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/ext_idle.c +1 -1
@@ -249,7 +249,7 @@ static struct cpumask *llc_span(s32 cpu) sd =rcu_dereference (per_cpu (sd_llc, cpu));if (!sd) -return 0 ; +return NULL ;return sched_domain_span (sd); }
Signature · 1 line
2.48.1
Tejun Heo
AppliedQuoted 6 lines · Cheng-Yang Chou
Use NULL instead of 0 to signal no LLC domain, matching
numa_span()and the function comment.No functional change.
Signed-off-by Cheng-Yang Chou <[email protected]>
Applied to sched_ext/for-6.17.
Thanks.
Signature · 1 line
tejun