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 <yphbchou0911@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
Cheng-Yang Chou 2025-06-16 04:04:14 +08:00 committed by Tejun Heo
parent 545b343015
commit f479fee382

View File

@ -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);
}