Re: [PATCH 1/7] of: free unflattened overlays after application

2024-05-20 Thread Sascha Hauer
On Fri, 17 May 2024 09:48:18 +0200, Ahmad Fatoum wrote: > of_unflatten_dtb allocates an unflattened tree and of_overlay_apply_tree > copies it into another tree. The unflattened tree is then usually > leaked. Add a function that takes care of these two steps and then frees > the tree. > > Appl

[PATCH 1/7] of: free unflattened overlays after application

2024-05-17 Thread Ahmad Fatoum
of_unflatten_dtb allocates an unflattened tree and of_overlay_apply_tree copies it into another tree. The unflattened tree is then usually leaked. Add a function that takes care of these two steps and then frees the tree. Signed-off-by: Ahmad Fatoum --- arch/riscv/boards/riscvemu/board.c | 4 +-