[PATCH 3/7] bitops: introduce list_for_each_clear_bit

Sergei Shtylyov sshtylyov at mvista.com
Fri Jan 13 12:16:40 EST 2012


Hello.

On 01/13/2012 06:53 PM, Akinobu Mita wrote:

> Introduce list_for_each_clear_bit() and list_for_each_clear_bit_from().

    It seems you've got somewhat muddled -- you're actually introducing 
for_each_clear_bit() and for_each_clear_bit_from()

> They are similar to for_each_set_bit() and list_for_each_set_bit_from(),
> but they iterate over all the cleared bits in a memory region.

> Signed-off-by: Akinobu Mita<akinobu.mita at gmail.com>
> Cc: Robert Richter<robert.richter at amd.com>
> Cc: Thomas Gleixner<tglx at linutronix.de>
> Cc: Ingo Molnar<mingo at redhat.com>
> Cc: "H. Peter Anvin"<hpa at zytor.com>
> Cc: x86 at kernel.org
> Cc: David Woodhouse<dwmw2 at infradead.org>
> Cc: linux-mtd at lists.infradead.org
> Cc: Martin Schwidefsky<schwidefsky at de.ibm.com>
> Cc: Heiko Carstens<heiko.carstens at de.ibm.com>
> Cc: linux390 at de.ibm.com
> Cc: linux-s390 at vger.kernel.org
> Cc: linux-usb at vger.kernel.org

WBR, Sergei




More information about the linux-mtd mailing list