On Sun, May 5, 2019 at 11:47 PM David Miller <davem@xxxxxxxxxxxxx> wrote: > > From: Petr Štetiar <ynezz@xxxxxxx> > Date: Fri, 3 May 2019 16:27:05 +0200 > > > this patch series is a continuation of my previous attempt[1], where I've > > tried to wire MTD layer into of_get_mac_address, so it would be possible to > > load MAC addresses from various NVMEMs as EEPROMs etc. > ... > > Series applied, thank you. Patch 1 at least is still be discussed. What was implemented based on my comments on v2 is really broken. Now the allocated buffer is tracked by both devm and DT refcounting. Whoever's ref count drops first will free the buffer. Rob