Martin Habets c9ad266bbe sfc: Avoid NULL pointer dereference on systems without numa awareness
On such systems cpumask_of_node() returns NULL, which bitmap
operations are not happy with.

Fixes: c265b569a45f ("sfc: default config to 1 channel/core in local NUMA node only")
Fixes: 09a99ab16c60 ("sfc: set affinity hints in local NUMA node only")
Signed-off-by: Martin Habets <habetsm.xilinx@gmail.com>
Reviewed-by: Íñigo Huguet <ihuguet@redhat.com>
Link: https://lore.kernel.org/r/164857006953.8140.3265568858101821256.stgit@palantir17.mph.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-03-30 12:08:58 -07:00
..
2022-02-07 19:53:38 -08:00
2022-01-09 16:52:18 -08:00
2022-03-04 12:02:19 +00:00
2022-01-09 16:52:18 -08:00
2022-03-04 12:02:19 +00:00
2022-03-23 18:03:08 -07:00
2022-03-24 13:13:26 -07:00
2022-03-24 13:13:26 -07:00
2022-02-11 14:39:08 -08:00
2022-01-09 16:52:18 -08:00
2022-03-24 13:13:26 -07:00
2022-03-04 12:02:19 +00:00
2022-03-04 12:02:19 +00:00
2022-02-12 18:20:04 +01:00