Commit 694763a3 authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] udf endianness annotation fix

udf/balloc.c::find_next_one_bit() had been confused about types...
Signed-off-by: default avatarAl Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 980d92a6
...@@ -49,8 +49,8 @@ ...@@ -49,8 +49,8 @@
extern inline int find_next_one_bit (void * addr, int size, int offset) extern inline int find_next_one_bit (void * addr, int size, int offset)
{ {
uintBPL_t * p = ((uintBPL_t *) addr) + (offset / BITS_PER_LONG); uintBPL_t * p = ((uintBPL_t *) addr) + (offset / BITS_PER_LONG);
uintBPL_t result = offset & ~(BITS_PER_LONG-1); int result = offset & ~(BITS_PER_LONG-1);
uintBPL_t tmp; unsigned long tmp;
if (offset >= size) if (offset >= size)
return size; return size;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment