Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 97829
b: refs/heads/master
c: 4710d1a
h: refs/heads/master
i:
  97827: d56d12f
v: v3
  • Loading branch information
Thomas Tuttle authored and Linus Torvalds committed Jun 6, 2008
1 parent e95cc3d commit 9e9f076
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bbcdac0c20aa20d1daad41d9c138102b70e5aae4
refs/heads/master: 4710d1ac4c491dd8a28f57946214c0b5fe73cc87
4 changes: 2 additions & 2 deletions trunk/fs/proc/proc_misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ static ssize_t kpagecount_read(struct file *file, char __user *buf,
pfn = src / KPMSIZE;
count = min_t(size_t, count, (max_pfn * KPMSIZE) - src);
if (src & KPMMASK || count & KPMMASK)
return -EIO;
return -EINVAL;

while (count > 0) {
ppage = NULL;
Expand Down Expand Up @@ -782,7 +782,7 @@ static ssize_t kpageflags_read(struct file *file, char __user *buf,
pfn = src / KPMSIZE;
count = min_t(unsigned long, count, (max_pfn * KPMSIZE) - src);
if (src & KPMMASK || count & KPMMASK)
return -EIO;
return -EINVAL;

while (count > 0) {
ppage = NULL;
Expand Down

0 comments on commit 9e9f076

Please sign in to comment.