diff options
| author | 2026-05-11 09:43:43 +0800 | |
|---|---|---|
| committer | 2026-05-12 18:45:13 -0700 | |
| commit | 3d042592ebd4c7e44974d556de0b727cb7db4dab (patch) | |
| tree | 001cb3d1c0cef83243e6db9b8afec16665c3e3d6 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | net/smc: avoid NULL deref of conn->lnk in smc_msg_event tracepoint (diff) | |
ethtool: fix ethnl_bitmap32_not_zero() bit interval semantics
ethnl_bitmap32_not_zero() should return true if some bit in [start, end)
is set:
- Fix inverted memchr_inv() sense: return true when the scan finds a
non-zero byte, not when the middle words are all zero.
- Return false for an empty interval (end <= start).
- When end is 32-bit aligned, indices in [start, end) do not include any
bits from map[end_word]; return false after earlier checks found no
non-zero data.
Fixes: 10b518d4e6dd ("ethtool: netlink bitset handling")
Signed-off-by: Chenguang Zhao <zhaochenguang@kylinos.cn>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
