On Sun, Jan 16, 2011 at 6:37 PM, Akinobu Mita [off-list ref] wrote:
Changing *_bit_le() to take "void *" instead of "unsigned long *"
makes this patch series acceptable?
That would seem to at least make all the filesystem code happier, and
they can continue to do just something like
#define ext2_set_bit __set_bit_le
(or whatever the exact sequence ends up being).
Or do we also need to change *_bit_le() to handle unaligned address
correctly? (i.e. not only long aligned address but also byte aligned
address)
No, I don't think that is required. We've never done it before, and
we've never had the type-safety for the little-endian (aka "minix")
bitops historically. So I'd just keep the status quo.
Linus