Re: [PATCH v3 7/8] genirq: Return a const cpumask from irq_data_get_affinity_mask

From: Andy Shevchenko
Date: Sun Jul 03 2022 - 11:05:45 EST


On Fri, Jul 1, 2022 at 10:01 PM Samuel Holland <samuel@xxxxxxxxxxxx> wrote:
>
> Now that the irq_data_update_affinity helper exists, enforce its use
> by returning a a const cpumask from irq_data_get_affinity_mask.
>
> Since the previous commit already updated places that needed to call
> irq_data_update_affinity, this commit updates the remaining code that
> either did not modify the cpumask or immediately passed the modified
> mask to irq_set_affinity.

When we refer to functions, we use parentheses, e.g. func().

--
With Best Regards,
Andy Shevchenko