Re: [PATCH v7 0/4] Introduce the for_each_set_clump macro

From: Bartosz Golaszewski
Date: Mon May 25 2020 - 05:36:49 EST


niedz., 24 maj 2020 o 07:00 Syed Nayyar Waris <syednwaris@xxxxxxxxx> napisaÅ(a):
>
> Hello Linus,
>
> Since this patchset primarily affects GPIO drivers, would you like
> to pick it up through your GPIO tree?
>
> This patchset introduces a new generic version of for_each_set_clump.
> The previous version of for_each_set_clump8 used a fixed size 8-bit
> clump, but the new generic version can work with clump of any size but
> less than or equal to BITS_PER_LONG. The patchset utilizes the new macro
> in several GPIO drivers.
>
> The earlier 8-bit for_each_set_clump8 facilitated a
> for-loop syntax that iterates over a memory region entire groups of set
> bits at a time.
>

The GPIO part looks good to me. Linus: how do we go about merging it
given the bitops dependency?

Bart