From: Alexey Korolev Date: Tue, 21 Feb 2006 02:27:55 +0000 (-0800) Subject: [PATCH] cfi_cmdset_0001: fix range for cache invalidation X-Git-Tag: v2.6.16-rc5~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d86d43706a27bb87c2873de369f94a10f8758063;p=pandora-kernel.git [PATCH] cfi_cmdset_0001: fix range for cache invalidation I found an issue in cfi_cmdset0001.c. It is related to cache region invalidation in the buffered write procedure. The code performs cache invalidation from "cmd_addr" to "cmd_adr + len" in do_write_buffer() while we modify region from "adr" to "adr+len". This issue affects writes + reads of data by small chunks. Signed-off-by: Nicolas Pitre Acked-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed