[PATCH] phy: samsung: fix missing of_node_put()

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Thu Apr 7 02:15:13 PDT 2022


On 07/04/2022 10:59, cgel.zte at gmail.com wrote:
> From: Lv Ruyi <lv.ruyi at zte.com.cn>
> 
> of_parse_phandle returns node pointer with refcount incremented,
> use of_node_put() on it when done.
> 
> Reported-by: Zeal Robot <zealci at zte.com.cn>
> Signed-off-by: Lv Ruyi <lv.ruyi at zte.com.cn>

Ah, now I found, that this was already fixed:
https://lore.kernel.org/all/3eed8d0c-e009-2daa-ba66-899fe8f48a90@canonical.com/


Best regards,
Krzysztof



More information about the linux-arm-kernel mailing list