diff options
author | Miaoqian Lin <[email protected]> | 2022-05-12 16:37:18 +0400 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2022-05-22 15:58:31 +1000 |
commit | fcee96924ba1596ca80a6770b2567ca546f9a482 (patch) | |
tree | 923f087e9dbddba27329697a22766a40ffd4c032 /lib/test_fortify/write_overflow-memcpy.c | |
parent | 1d1fb9618bdd5a5fbf9a9eb75133da301d33721c (diff) |
powerpc/fsl_rio: Fix refcount leak in fsl_rio_setup
of_parse_phandle() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not need anymore.
Add missing of_node_put() to avoid refcount leak.
Fixes: abc3aeae3aaa ("fsl-rio: Add two ports and rapidio message units support")
Signed-off-by: Miaoqian Lin <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions