aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/mem.c')
-rw-r--r--drivers/char/mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/mem.c b/drivers/char/mem.c
index b64108dd765b..42187381506b 100644
--- a/drivers/char/mem.c
+++ b/drivers/char/mem.c
@@ -287,7 +287,7 @@ static ssize_t read_oldmem(struct file *file, char __user *buf,
287 size_t read = 0, csize; 287 size_t read = 0, csize;
288 int rc = 0; 288 int rc = 0;
289 289
290 while(count) { 290 while (count) {
291 pfn = *ppos / PAGE_SIZE; 291 pfn = *ppos / PAGE_SIZE;
292 if (pfn > saved_max_pfn) 292 if (pfn > saved_max_pfn)
293 return read; 293 return read;