1 Index: linux-2.6.21.7/drivers/mtd/devices/block2mtd.c
2 ===================================================================
3 --- linux-2.6.21.7.orig/drivers/mtd/devices/block2mtd.c
4 +++ linux-2.6.21.7/drivers/mtd/devices/block2mtd.c
5 @@ -112,7 +112,7 @@ static int _block2mtd_erase(struct block
9 - max = (u_long*)page_address(page) + PAGE_SIZE;
10 + max = (u_long*) ((u8 *) page_address(page) + PAGE_SIZE);
11 for (p=(u_long*)page_address(page); p<max; p++)