Question reg. parsing of mtd partitions

Dmitry Eremin-Solenikov dbaryshkov at gmail.com
Thu Jun 9 04:34:19 EDT 2011


Hello, colleagues,

While doing MTD partitions cleanup I noticed one strange thing.
parse_mtd_partitions function bears one extra argument (origin)
which isn't clearly described, set to non-zero only by ixp4xx.c
driver and then read by redboot partition table handling. I wander if we
can add some other way to handle this situation and drop this extra 0
argument from lots of drivers/handlers/etc.

Could you please check it?

-- 
With best wishes
Dmitry




More information about the linux-mtd mailing list