On Sat, 8 Sep 2018, Dou Liyang wrote: > Spread managed interrupt on allocation as well. > > Fixes: a0c9259dc4e1("irq/matrix: Spread interrupts on allocation")
No. This is an enhancement and not a fix. > - cpumask_and(vector_searchmask, vector_searchmask, affmsk); > - cpu = cpumask_first(vector_searchmask); > - if (cpu >= nr_cpu_ids) > - return -EINVAL; Removing this check changes the return value for the empty search mask case from EINVAL to ENOSPC. Doesn't matter much I think, but it might be worth to mention in the changelog. Thanks, tglx