git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: pcm: potential uninitialized return values
[pandora-kernel.git]
/
mm
/
mmap.c
diff --git
a/mm/mmap.c
b/mm/mmap.c
index
4f779f5
..
ba6583b
100644
(file)
--- a/
mm/mmap.c
+++ b/
mm/mmap.c
@@
-1717,7
+1717,7
@@
int expand_upwards(struct vm_area_struct *vma, unsigned long address)
/* Guard against exceeding limits of the address space. */
address &= PAGE_MASK;
- if (address >=
TASK_SIZE
)
+ if (address >=
(TASK_SIZE & PAGE_MASK)
)
return -ENOMEM;
address += PAGE_SIZE;