Message ID | 019401d08615$5e093000$1a1b9000$@alibaba-inc.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
--- a/arch/arm/mm/pageattr.c Mon May 4 10:33:49 2015 +++ b/arch/arm/mm/pageattr.c Mon May 4 10:35:32 2015 @@ -52,7 +52,7 @@ static int change_memory_common(unsigned if (start < MODULES_VADDR || start >= MODULES_END) return -EINVAL; - if (end < MODULES_VADDR || start >= MODULES_END) + if (end < MODULES_VADDR || end >= MODULES_END) return -EINVAL; data.set_mask = set_mask;