mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 02:23:05 +00:00
The bug causes corruptions of data read from flash. The original code performs cache invalidation from "adr" to "adr + len" in do_write_buffer(). Since len and adr could be updated in the code before invalidation - it causes improper setting of cache invalidation regions. Signed-off-by: Massimo Cirillo <[email protected]> Signed-off-by: Giuseppe D'Eliseo <[email protected]> Acked-by: Nicolas Pitre <[email protected]> Acked-by: Jörn Engel <[email protected]> Signed-off-by: David Woohouse <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>