[
  [
    "linux-2.6.23/drivers/mtd/cmdlinepart.c.orig", 
    "linux-2.6.23/drivers/mtd/cmdlinepart.c", 
    [
      "--- linux-2.6.23/drivers/mtd/cmdlinepart.c.orig", 
      "+++ linux-2.6.23/drivers/mtd/cmdlinepart.c", 
      "@@ -315,10 +315,14 @@", 
      "{", 
      "for(i = 0, offset = 0; i < part->num_parts; i++)", 
      "{", 
      "+#if 0", 
      "if (part->parts[i].offset == OFFSET_CONTINUOUS)", 
      "part->parts[i].offset = offset;", 
      "else", 
      "offset = part->parts[i].offset;", 
      "+#else", 
      "+\t\t\t\toffset = part->parts[i].offset;", 
      "+#endif", 
      "if (part->parts[i].size == SIZE_REMAINING)", 
      "part->parts[i].size = master->size - offset;", 
      "if (offset + part->parts[i].size > master->size)"
    ]
  ]
]