From: Hugh Dickins Date: Sat, 3 Sep 2005 22:54:35 +0000 (-0700) Subject: [PATCH] swap: swap unsigned int consistency X-Git-Tag: v2.6.14-rc1~984 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6eb396dc4a9781c5e7951143ab56ce5710687ab3;p=pandora-kernel.git [PATCH] swap: swap unsigned int consistency The swap header's unsigned int last_page determines the range of swap pages, but swap_info has been using int or unsigned long in some cases: use unsigned int throughout (except, in several places a local unsigned long is useful to avoid overflows when adding). Signed-off-by: Hugh Dickins Signed-off-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed