Re: [RFC PATCH 000/104] mtd: cleanup partition parsing interface

Artem Bityutskiy
2011-06-03T15:59:28Z

On Thu, 2011-06-02 at 18:51 +0400, Dmitry Eremin-Solenikov wrote:
> Hello,
>
> This is an RFC for a huge serie of patches converting most mtd drivers to use
> single instance of code for managing mtd partitions parsing and handling.
>
> Currently each driver responsible for partitions implements this part of code
> on it's own, resulting in memory leaks, possible frees of non-allocated memory,
> etc. As the patch serie is huge, I'm posting only patches I consider
> "interesting", i. e. from the subserie doing the same cleanup for different
> drivers I post only first patch. Rest are available through the gitweb.
>
> Only one driver still uses parse_mtd_partitions after this serie (edb7312),
> as it registers both parsed partitions and the whole mtd device and I ain't
> sure how to behave at this case.
>
> If the idea seems find to be commited, I'll post the whole serie for full
> review.

Hi, sure this is interesting. I'll try to find time and go through this
and push to l2 tree. But then please, ping dwmw2 to look at this,
because otherwise it will not get to linux-next till the end of the next
merge window.

--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)