[PATCH] memory: atmel-ebi: Fix missing of_node_put in atmel_ebi_probe

Krzysztof Kozlowski krzk at kernel.org
Fri Mar 18 05:53:38 PDT 2022


On 09/03/2022 12:01, Miaoqian Lin wrote:
> The device_node pointer is returned by of_parse_phandle() with refcount
> incremented. We should use of_node_put() on it when done.
> 
> Fixes: 87108dc78eb8 ("memory: atmel-ebi: Enable the SMC clock if specified")
> Signed-off-by: Miaoqian Lin <linmq006 at gmail.com>
> ---
>  drivers/memory/atmel-ebi.c | 23 +++++++++++++++++------
>  1 file changed, 17 insertions(+), 6 deletions(-)
> 

It's too late for upcoming cycle, so I will pick it up after the merge
window.


Best regards,
Krzysztof



More information about the linux-arm-kernel mailing list