NOR read/write beyond end of flash partition
dedekind at infradead.org
Fri Dec 1 03:44:22 EST 2006
On Thu, 2006-11-30 at 21:23 +0530, Tigadi Kiran-r10350c wrote:
> Hi Artem,
> Please find attached patch for drivers/mtd/mtdchar.c file to fix NOR read beyond flash. Let me know whether it is valid fix.
I've looked at the code. Your patch is incorrect as mtd_read() should
return EOF if *ppos == mtd->size, not -ENOSPC.
Artem Bityutskiy (Битюцкий Артём)
More information about the linux-mtd