]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tools/vm/page-types.c: cleanups
authorUlrich Drepper <drepper@akkadia.org>
Thu, 3 May 2012 05:43:54 +0000 (15:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:32 +0000 (15:46 +1000)
commit53d20cdd4ff334be0f38c734d1bb1bebbbb4ae20
tree48e2403f992b1b5fd8f54e42c02ce56947008bc0
parent644f221e47929a877d17f30aba0600230dc34286
tools/vm/page-types.c: cleanups

Compiling page-type.c with a recent compiler produces many warnings,
mostly related to signed/unsigned comparisons.  This patch cleans up most
of them.

One remaining warning is about an unused parameter.  The <compiler.h> file
doesn't define a __unused macro (or the like) yet.  This can be addressed
later.

Signed-off-by: Ulrich Drepper <drepper@gmail.com>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/vm/page-types.c