1 diff -urN linux.old/drivers/mtd/redboot.c linux.dev/drivers/mtd/redboot.c
2 --- linux.old/drivers/mtd/redboot.c 2006-12-14 23:53:29.000000000 +0100
3 +++ linux.dev/drivers/mtd/redboot.c 2006-12-16 04:23:42.000000000 +0100
10 offset = master->size + directory*master->erasesize;
16 + if (offset + master->erasesize < master->size) {
17 + /* not at the end of the flash yet, maybe next block :) */
21 printk(KERN_NOTICE "No RedBoot partition table detected in %s\n",