projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branches 'regulator/topic/mt6397', 'regulator/topic/of', 'regul...
[cascardo/linux.git]
/
arch
/
arm
/
mm
/
pageattr.c
diff --git
a/arch/arm/mm/pageattr.c
b/arch/arm/mm/pageattr.c
index
cf30daf
..
d19b1ad
100644
(file)
--- a/
arch/arm/mm/pageattr.c
+++ b/
arch/arm/mm/pageattr.c
@@
-49,6
+49,9
@@
static int change_memory_common(unsigned long addr, int numpages,
WARN_ON_ONCE(1);
}
+ if (!numpages)
+ return 0;
+
if (start < MODULES_VADDR || start >= MODULES_END)
return -EINVAL;