Re: [PATCH v7 0/4] Introduce the for_each_set_clump macro
From: Bartosz Golaszewski <hidden>
Date: 2020-05-25 09:36:48
Also in:
linux-arch, linux-gpio, linux-pm, lkml
From: Bartosz Golaszewski <hidden>
Date: 2020-05-25 09:36:48
Also in:
linux-arch, linux-gpio, linux-pm, lkml
niedz., 24 maj 2020 o 07:00 Syed Nayyar Waris [off-list ref] 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel