Re: [PATCH V2 2/2] net: Fixup virtnet_set_affinity() cause cpumask warning
From: Andy Shevchenko
Date: Fri Oct 14 2022 - 06:00:31 EST
On Thu, Oct 13, 2022 at 11:04:59PM -0400, guoren@xxxxxxxxxx wrote:
> From: Guo Ren <guoren@xxxxxxxxxxxxxxxxx>
>
> Don't pass nr_bits-1 as arg1 for cpumask_next_wrap, which would
> cause warning now 78e5a3399421 ("cpumask: fix checking valid
> cpu range").
> ------------[ cut here ]------------
> WARNING: CPU: 0 PID: 1 at include/linux/cpumask.h:110 cpumask_next_wrap+0x5c/0x80
> Modules linked in:
Submitting Patches document suggests to cut this huge warning to only what
makes sense to see in the report.
--
With Best Regards,
Andy Shevchenko