Re: [PATCH V2 1/2] net: Fixup netif_attrmask_next_and warning

From: Andy Shevchenko
Date: Fri Oct 14 2022 - 06:01:15 EST


On Thu, Oct 13, 2022 at 11:04:58PM -0400, guoren@xxxxxxxxxx wrote:
> From: Guo Ren <guoren@xxxxxxxxxxxxxxxxx>
>
> Don't pass nr_bits as arg1, cpu_max_bits_warn would cause warning
> now 854701ba4c39 ("net: fix cpu_max_bits_warn() usage in
> netif_attrmask_next{,_and}").
>
> ------------[ cut here ]------------
> WARNING: CPU: 2 PID: 1 at include/linux/cpumask.h:110 __netif_set_xps_queue+0x14e/0x770
> Modules linked in:

Submitting Patches documentation suggests to cut this to only what makes sense
for the report.

--
With Best Regards,
Andy Shevchenko