]> git.baikalelectronics.ru Git - kernel.git/commit
lib/test_cpumask: Add for_each_cpu_and(not) tests
authorValentin Schneider <vschneid@redhat.com>
Mon, 3 Oct 2022 15:34:19 +0000 (16:34 +0100)
committerYury Norov <yury.norov@gmail.com>
Thu, 6 Oct 2022 12:57:36 +0000 (05:57 -0700)
commitd446728c3cef4d3d4c379065a7d00ad313d47de7
tree9f483a601514c79056d7377ff690009267359791
parentfc0945effbe8d2340d521e2ae7bf82c55269e197
lib/test_cpumask: Add for_each_cpu_and(not) tests

Following the recent introduction of for_each_andnot(), add some tests to
ensure for_each_cpu_and(not) results in the same as iterating over the
result of cpumask_and(not)().

Suggested-by: Yury Norov <yury.norov@gmail.com>
Signed-off-by: Valentin Schneider <vschneid@redhat.com>
lib/cpumask_kunit.c