Re: [PATCH 1/2] opp: fix of_node leak for unsupported entries

From: Viresh Kumar
Date: Tue Jan 07 2020 - 01:36:21 EST


Discard my earlier reply, it wasn't accurate/correct.

On 03-01-20, 20:36, MichaÅ MirosÅaw wrote:
> When parsing OPP v2 table, unsupported entries return NULL from
> _opp_add_static_v2().

Right, as we don't want parsing to fail here.

> In this case node reference is leaked.

Why do you think so ?

--
viresh