Searched refs:real_parts (Results 1 – 1 of 1) sorted by relevance
584 struct mtd_partition *real_parts; in mtd_device_parse_register() local586 err = parse_mtd_partitions(mtd, types, &real_parts, parser_data); in mtd_device_parse_register()588 real_parts = kmemdup(parts, sizeof(*parts) * nr_parts, in mtd_device_parse_register()590 if (!real_parts) in mtd_device_parse_register()597 err = add_mtd_partitions(mtd, real_parts, err); in mtd_device_parse_register()598 kfree(real_parts); in mtd_device_parse_register()