Revert "net: fix cpu_max_bits_warn() usage in netif_attrmask_next{,_and}"
authorJakub Kicinski <kuba@kernel.org>
Fri, 14 Oct 2022 16:07:46 +0000 (09:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Oct 2022 10:17:12 +0000 (11:17 +0100)
commitfc8695eb11f07d936a4a9dbd15d7797986bc8b89
tree9d9c969d25aa4497150fc2ebfeb0df6a1dbbb56b
parent0a6d58a70a39d9a74882af6d00ec6df0737503ff
Revert "net: fix cpu_max_bits_warn() usage in netif_attrmask_next{,_and}"

This reverts commit 854701ba4c39afae2362ba19a580c461cb183e4f.

We have more violations around, which leads to:

  WARNING: CPU: 2 PID: 1 at include/linux/cpumask.h:110 __netif_set_xps_queue+0x14e/0x770

Let's back this out and retry with a larger clean up in -next.

Fixes: 854701ba4c39 ("net: fix cpu_max_bits_warn() usage in netif_attrmask_next{,_and}")
Link: https://lore.kernel.org/all/20221014030459.3272206-2-guoren@kernel.org/
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h