mtd/drivers/mtd mtdpart.c,1.48,1.49

David Woodhouse dwmw2 at infradead.org
Tue Aug 10 09:41:30 EDT 2004


Update of /home/cvs/mtd/drivers/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv17555

Modified Files:
	mtdpart.c 
Log Message:
Fix up the erase address in the callback too.


Index: mtdpart.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/mtdpart.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- mtdpart.c	10 Aug 2004 09:27:52 -0000	1.48
+++ mtdpart.c	10 Aug 2004 13:41:27 -0000	1.49
@@ -256,6 +256,7 @@
 
 		if (instr->fail_addr != 0xffffffff)
 			instr->fail_addr -= part->offset;
+		instr->addr -= part->offset;
 	}
 	if (instr->callback)
 		instr->callback(instr);





More information about the linux-mtd-cvs mailing list