Thread (10 messages) 10 messages, 4 authors, 2021-08-12

Re: [PATCH 2/4] bitmap: unify find_bit operations

From: Wolfram Sang <wsa+renesas@sang-engineering.com>
Date: 2021-08-11 07:38:39
Also in: linux-mmc, lkml

On Sun, Jul 18, 2021 at 07:17:53PM -0700, Yury Norov wrote:
bitmap_for_each_{set,clear}_region() are similar to for_each_bit()
macros in include/linux/find.h, but interface and implementation
of them are different.

This patch adds for_each_bitrange() macros and drops unused
bitmap_*_region() API in sake of unification.

Signed-off-by: Yury Norov <yury.norov@gmail.com>
I fetched your bitmap-20210716 branch and tested it on a Renesas
Salvator-XS board with an R-Car M3-N SoC with some debug output added.
Still works and values make sense, so:

Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help