diff options
author | Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> | 2020-11-26 22:11:44 +0300 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2020-11-28 14:34:57 +0300 |
commit | 4e6b86b409f9fc63fedb39d6e3a0202c4b0244ce (patch) | |
tree | c1f0aaea544be57825b349e3f7dead2f3c4fda92 /drivers/memory/Kconfig | |
parent | 61a6d854b9555b420fbfae62ef26baa8b9493b32 (diff) | |
download | linux-4e6b86b409f9fc63fedb39d6e3a0202c4b0244ce.tar.xz |
memory: renesas-rpc-if: Fix a node reference leak in rpcif_probe()
Release the node reference by calling of_node_put(flash) in the probe.
Fixes: ca7d8b980b67f ("memory: add Renesas RPC-IF driver")
Reported-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Sergei Shtylyov <sergei.shtylyov@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Pavel Machek (CIP) <pavel@denx.de>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20201126191146.8753-4-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'drivers/memory/Kconfig')
0 files changed, 0 insertions, 0 deletions