[PATCH] Fix the sign of the result of a conditional expression

From: Chuck Lever
Date: Wed Aug 15 2007 - 17:09:36 EST


In include/asm-x86_64/bitops.h, the find_{first,next,first_zero,next_zero}_bit
macros return a result type that depends on the width of the "size" argument.
The type of both arms of a conditional expression should always be the same.

I changed the return type of __scanbit() to match the return type of the
x86_64 find_*_bit() functions.

--
corporate: <chuck dot lever at oracle dot com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/