Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1315655
| From | <mika.penttila@nextfour.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/4] arm: Fix wrong bounds check. |
| Date | 2016-01-23 16:10 +0100 |
| Message-ID | <qU7Z8-4tS-15@gated-at.bofh.it> (permalink) |
| References | <qU7Z8-4tS-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Mika Penttilä <mika.penttila@nextfour.com> Not related to this oops, but while at it, fix incorrect bounds check. Signed-off-by: Mika Penttilä mika.penttila@nextfour.com --- arch/arm/mm/pageattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mm/pageattr.c b/arch/arm/mm/pageattr.c index cf30daf..be7fe4b 100644 --- a/arch/arm/mm/pageattr.c +++ b/arch/arm/mm/pageattr.c @@ -52,7 +52,7 @@ static int change_memory_common(unsigned long addr, int numpages, 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; -- 1.9.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/4] set_memory_xx fixes <mika.penttila@nextfour.com> - 2016-01-23 16:10 +0100
[PATCH 1/4] arm: Fix wrong bounds check. <mika.penttila@nextfour.com> - 2016-01-23 16:10 +0100
Re: [PATCH 1/4] arm: Fix wrong bounds check. Laura Abbott <labbott@redhat.com> - 2016-01-25 19:40 +0100
[PATCH 2/4] arm: let set_memory_xx(addr, 0) succeed. <mika.penttila@nextfour.com> - 2016-01-23 16:10 +0100
Re: [PATCH 2/4] arm: let set_memory_xx(addr, 0) succeed. Laura Abbott <labbott@redhat.com> - 2016-01-25 19:50 +0100
csiph-web