Files
erofs-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 <[email protected]>
Reviewed-by: Felix Maurer <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
2026-06-12 16:20: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