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

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

From: Yury Norov <yury.norov@gmail.com>
Date: 2021-08-12 01:23:54
Also in: linux-mmc, lkml

On Wed, Aug 11, 2021 at 12:38 AM Wolfram Sang
[off-list ref] wrote:
On Sun, Jul 18, 2021 at 07:17:53PM -0700, Yury Norov wrote:
quoted
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>
Thank you Wolfram for looking into this. I'll resend all the series
this weekend.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help