Re: [PATCH] mtd mtdraw: Fix partial page read

2012-09-16 Thread Robert Jarzmik
Sascha Hauer writes: > On Sun, Sep 16, 2012 at 10:46:54AM +0200, Robert Jarzmik wrote: >> Sascha Hauer writes: > Yeah, this doubles the efficiency ;) Will do that instead. Excellent :) Then please add my: Acked-by: Robert Jarzmik Cheers. -- Robert ___

Re: [PATCH] mtd mtdraw: Fix partial page read

2012-09-16 Thread Sascha Hauer
On Sun, Sep 16, 2012 at 10:46:54AM +0200, Robert Jarzmik wrote: > Sascha Hauer writes: > > > When reading parts of a page we have to limit the maximum bytes copied > > the the remaining bytes of a page. > > > > Signed-off-by: Sascha Hauer > > Cc: Robert Jarzmik > > --- > > drivers/mtd/mtdraw.c

Re: [PATCH] mtd mtdraw: Fix partial page read

2012-09-16 Thread Robert Jarzmik
Sascha Hauer writes: > When reading parts of a page we have to limit the maximum bytes copied > the the remaining bytes of a page. > > Signed-off-by: Sascha Hauer > Cc: Robert Jarzmik > --- > drivers/mtd/mtdraw.c |1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/mtd/mtdraw.c

[PATCH] mtd mtdraw: Fix partial page read

2012-09-15 Thread Sascha Hauer
When reading parts of a page we have to limit the maximum bytes copied the the remaining bytes of a page. Signed-off-by: Sascha Hauer Cc: Robert Jarzmik --- drivers/mtd/mtdraw.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/mtdraw.c b/drivers/mtd/mtdraw.c index d28ae07..29f