diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-12-14 17:57:49 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-15 08:53:11 -0800 |
commit | f1327bf18c8737aeb85226f02f102dfa065fddde (patch) | |
tree | 441b938316c4de34c34784463836ea52e455c465 /Documentation | |
parent | 3428838d8e88fb766143c913cf3e777b000f8e07 (diff) | |
download | kernel_goldelico_gta04-f1327bf18c8737aeb85226f02f102dfa065fddde.zip kernel_goldelico_gta04-f1327bf18c8737aeb85226f02f102dfa065fddde.tar.gz kernel_goldelico_gta04-f1327bf18c8737aeb85226f02f102dfa065fddde.tar.bz2 |
page-types: unsigned cannot be less than 0 in add_page()
If not signed, testing of the read() return value in this function
will not work.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/vm/page-types.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/vm/page-types.c b/Documentation/vm/page-types.c index 59a4614..2279b61 100644 --- a/Documentation/vm/page-types.c +++ b/Documentation/vm/page-types.c @@ -560,7 +560,7 @@ static void walk_pfn(unsigned long voffset, { uint64_t buf[KPAGEFLAGS_BATCH]; unsigned long batch; - unsigned long pages; + long pages; unsigned long i; while (count) { |