[PATCH] soc: fsl: Add missing of_node_put() after using device_node

Christophe Leroy christophe.leroy at csgroup.eu
Thu Nov 14 18:29:13 AEDT 2024


Hi,

Le 06/11/2024 à 08:11, Zhang Zekun a écrit :
> of_find_compatible_node() will increase the refcount of the device_node.
> Decrease the refcount once finish using it.
> 
> Fixes: e95f287deed2 ("soc: fsl: handle RCPM errata A-008646 on SoC LS1021A")
> Signed-off-by: Zhang Zekun <zhangzekun11 at huawei.com>

Your patch is redundant with 
https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20241013-rcpm-of_node_put-v1-1-9a8e55a01eae@gmail.com/

Christophe


More information about the Linuxppc-dev mailing list