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

Dmitry Eremin-Solenikov dbaryshkov at gmail.com
Sat Jun 4 04:25:45 EDT 2011


On 6/3/11, Artem Bityutskiy <dedekind1 at gmail.com> wrote:
> 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.

I'll then rebase this on top of l2 tree and post a formal pull request
with both you and dwmw2 in cc. Is this fine from your point of view?

-- 
With best wishes
Dmitry



More information about the linux-mtd mailing list