[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070815204939.3518.63203.stgit@monet.1015granger.net>
Date: Wed, 15 Aug 2007 17:02:41 -0400
From: Chuck Lever <chuck.lever@...cle.com>
To: andi@...stfloor.org
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] Fix the sign of the result of a conditional expression
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists