Commit e7ff8c38 authored by Roel Kluin's avatar Roel Kluin Committed by james toy

If not signed, testing of the read() return value in this function

will not work.
Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 28a5fc7f
...@@ -560,7 +560,7 @@ static void walk_pfn(unsigned long voffset, ...@@ -560,7 +560,7 @@ static void walk_pfn(unsigned long voffset,
{ {
uint64_t buf[KPAGEFLAGS_BATCH]; uint64_t buf[KPAGEFLAGS_BATCH];
unsigned long batch; unsigned long batch;
unsigned long pages; long pages;
unsigned long i; unsigned long i;
while (count) { while (count) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment