Hi Vikram, On 19/08/2023 01:28, Vikram Garhwal wrote:
Following changes are done to __unflatten_device_tree(): 1. __unflatten_device_tree() is renamed to unflatten_device_tree(). 2. Remove __init and static function type.The changes are done to make this function useable for dynamic node programming where new device tree overlay nodes are added to fdt and further unflattend to update xen device tree during runtime. Signed-off-by: Vikram Garhwal <[email protected]>
It is not clear to me whether you saw my reply about using ERR_PTR() as I can't find an answer.
Anyway, I am not against this interface: Acked-by: Julien Grall <[email protected]> Cheers, -- Julien Grall
