Files
linux/net/hsr
Yury Norov 8058d9755e net: hsr: simplify fill_last_seq_nrs()
The function checks the HSR_PT_SLAVE_A and HSR_PT_SLAVE_B bitmaps
for emptiness right before calling find_last_bit().

This pass may be avoided, because if the bitmap is empty, the
find_last_bit() returns >= HSR_SEQ_BLOCK_SIZE

Signed-off-by: Yury Norov <ynorov@nvidia.com>
Reviewed-by: Felix Maurer <fmaurer@redhat.com>
Link: https://patch.msgid.link/20260609171545.1051322-1-ynorov@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-06-12 16:20:28 -07:00
..
2021-05-24 14:10:28 -07:00
2026-02-27 17:24:58 -08:00
2025-03-13 10:04:22 +01:00
2025-03-13 10:04:22 +01:00