From: Joe Perches on
On Tue, 2010-02-02 at 00:10 +0900, Akinobu Mita wrote:
> Rename for_each_bit to for_each_set_bit in the kernel source tree.

I preferred the for_each_bit because it gives some
naming consistency.

These look for set bits:

find_first_bit
find_next_bit
find_last_bit

These look for unset bits:

find_first_zero_bit
find_next_zero_bit

I think there should be 3 macros named:
for_each_bit
for_each_zero_bit
for_every_bit

and maybe there's a use for:
find_last_zero_bit

I think the macro definition should be located
near these other functions in bitops.h and not
placed somewhat randomly near the top of the file.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/