diff options
| author | Yury Norov <[email protected]> | 2022-09-19 21:05:55 +0000 |
|---|---|---|
| committer | Yury Norov <[email protected]> | 2022-10-01 17:22:57 +0000 |
| commit | 33e67710beda78aed38a2fe10be6088d4aeb1c53 (patch) | |
| tree | a551250dc8b2dc899bbad6b7a39e5596868f1216 /lib/test_bitmap.c | |
| parent | net: fix cpu_max_bits_warn() usage in netif_attrmask_next{,_and} (diff) | |
| download | kernel-33e67710beda78aed38a2fe10be6088d4aeb1c53.tar.gz kernel-33e67710beda78aed38a2fe10be6088d4aeb1c53.zip | |
cpumask: switch for_each_cpu{,_not} to use for_each_bit()
The difference between for_each_cpu() and for_each_set_bit()
is that the latter uses cpumask_next() instead of find_next_bit(),
and so calls cpumask_check().
This check is useless because the iterator value is not provided by
user. It generates false-positives for the very last iteration
of for_each_cpu().
Signed-off-by: Yury Norov <[email protected]>
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions
