]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] x86: handle -Wsign-compare in bitops
authorDavid Howells <dhowells@redhat.com>
Fri, 6 Jan 2006 08:11:59 +0000 (00:11 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:36 +0000 (08:33 -0800)
commit6face5fe66946cc0312231265f7811646cad4b64
tree3b124a740d14ef298117b4ad0732e075ed970e4b
parent42f6927168917058f6e3084611d118a1381cbc5e
[PATCH] x86: handle -Wsign-compare in bitops

Make i386's find_first_bit() use an unsigned integer as a counter to avoid
getting warnings when -Wsign-compare is given.

Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-i386/bitops.h