Skip to content

bitmap: remove _reg_op()

Yury Norov lkml ltp oe-lkp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6bitmap: add bitmap_empty_from()include/linux/bitmap.h+11 -00 replies
2/6bitmap: replace _reg_op(REG_OP_ALLOC) with bitmap_set()lib/bitmap.c+3 -20 replies
3/6bitmap: replace _reg_op(REG_OP_RELEASE) with bitmap_clear()lib/bitmap.c+1 -10 replies
4/6bitmap: replace _reg_op(REG_OP_ISFREE) with bitmap_empty_from()lib/bitmap.c+2 -20 replies
5/6bitmap: fix opencoded bitmap_allocate_region()lib/bitmap.c+2 -40 replies
6/6bitmap: drop _reg_op()lib/bitmap.c+0 -760 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] bitmap: remove _reg_op()

_reg_op() duplicates functionality of other bitmap functions. This series removes it.

On top of this:
https://lore.kernel.org/lkml/[email protected]/

Yury Norov (6):
bitmap: add bitmap_empty_from()
bitmap: replace _reg_op(REG_OP_ALLOC) with bitmap_set()
bitmap: replace _reg_op(REG_OP_RELEASE) with bitmap_clear()
bitmap: replace _reg_op(REG_OP_ISFREE) with bitmap_empty_from()
bitmap: fix opencoded bitmap_allocate_region()
bitmap: drop _reg_op()

 include/linux/bitmap.h | 11 ++++++
 lib/bitmap.c           | 89 +++---------------------------------------
 2 files changed, 17 insertions(+), 83 deletions(-)
Signature · 1 line
2.34.1