tools/vm/page-types.c: cleanups
commite30d539b3fe76f5bb71e069dcbfa47a1c2e6da3b
authorUlrich Drepper <drepper@akkadia.org>
Tue, 29 May 2012 22:06:30 +0000 (29 15:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 May 2012 23:22:21 +0000 (29 16:22 -0700)
treea3160bcaca4a00ece4c873521cf678767924b945
parent9295b7a07c859a42346221b5839be0ae612333b0
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>
Acked-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/vm/page-types.c