Thread (2 messages) flat view 2 messages, 2 authors, 2012-03-29

arm: mm: fix faulty calculation of area to perform cache operation

From: Russell King - ARM Linux <hidden>
Date: 2012-03-29 12:10:01
Also in: linux-arch, linux-samsung-soc

On Thu, Mar 29, 2012 at 06:55:32PM +0900, Cho KyongHo wrote:
In dma_cache_maint_page(), if offset is larger than PAGE_SIZE,
len becomes PAGE_SIZE - offset. If size is smaller than
PAGE_SIZE - offset, next calcuation of left cause overflow.
It is invalid for offset to be larger than PAGE_SIZE here.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help