Re: [PATCH v2 0/2] of: overlay: rework overlay apply and remove kfree()s

From: Frank Rowand
Date: Mon Apr 11 2022 - 00:10:58 EST


adding cc: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>

On 4/10/22 16:08, frowand.list@xxxxxxxxx wrote:
> From: Frank Rowand <frank.rowand@xxxxxxxx>
>
> Fix various kfree() issues related to of_overlay_apply().
>
> The fixes revealed inconsist variable names for the same variable
> across functions, resulting in difficulty understanding the code
> that was being modified. Doing both variable renaming and the
> fixes results in a hard to review patch, so split into two patches.
>
> The first patch in the series contains only variable renaming.
> The second patch contains the kfree() related fixes.
>
> Frank Rowand (2):
> of: overlay: rename variables to be consistent
> of: overlay: rework overlay apply and remove kfree()s
>
> Documentation/devicetree/overlay-notes.rst | 23 ++-
> drivers/of/overlay.c | 175 +++++++++++----------
> 2 files changed, 115 insertions(+), 83 deletions(-)
>