Re: [PATCH v4 00/24] Introduce little endian bitops

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
2011-01-17 02:51:32
Also in
lkml
Reply to
Akinobu Mita, 2011-01-17
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
Thread (34 messages) 34 messages, 5 authors, last reply 2011-01-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help