Re: [PATCH 13/14] PCI: hv: switch hv_compose_multi_msi_req_get_cpu() to using cpumask_next_wrap()

From: Yury Norov
Date: Fri Jan 03 2025 - 13:56:37 EST


On Fri, Jan 03, 2025 at 11:45:43AM -0600, Bjorn Helgaas wrote:
> On Sat, Dec 28, 2024 at 10:49:45AM -0800, Yury Norov wrote:
> > Calling cpumask_next_wrap_old() with starting CPU == nr_cpu_ids
> > is effectively the same as request to find first CPU, starting
> > from a given one and wrapping around if needed.
> >
> > cpumask_next_wrap() is a proper replacement for that.
> >
> > Signed-off-by: Yury Norov <yury.norov@xxxxxxxxx>
>
> s/switch/Switch/ in subject to match history.
>
> Since this depends on previous patches, I assume you'll merge them all
> together, so:
>
> Acked-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>

Hi Bjorn,

Thanks for review!

Agree with everything you spotted out. I'll fix it in v2 if it will be
needed, or inplace when applying.

Thanks,
Yury