Skip to content

lib/bitmap: fix off-by-one in bitmap_to_arr64()

Alexander Lobakin lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib/bitmap: fix off-by-one in bitmap_to_arr64()lib/bitmap.c+1 -10 replies
2/2lib/test_bitmap: test the tail after bitmap_to_arr64()lib/test_bitmap.c+6 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndy Shevchenko
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] lib/bitmap: fix off-by-one in bitmap_to_arr64()

Fix tail clearing in bitmap_to_arr64() for 32-bit BEs and expand the tests to cover the bug being fixed.

Alexander Lobakin (2):
lib/bitmap: fix off-by-one in bitmap_to_arr64() lib/test_bitmap: test the tail after bitmap_to_arr64()

 lib/bitmap.c      | 2 +-
 lib/test_bitmap.c | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

base-commit: 32346491ddf24599decca06190ebca03ff9de7f8

Signature · 1 line
2.36.1