UPSTREAM: dpaa_eth: Fix missing of_node_put in dpaa_get_ts_info()
[ Upstream commit 1a7eb80d ] Both of of_get_parent() and of_parse_phandle() return node pointer with refcount incremented, use of_node_put() on it to decrease refcount when done. Reported-by:Zeal Robot <zealci@zte.com.cn> Signed-off-by:
Lv Ruyi <lv.ruyi@zte.com.cn> Signed-off-by:
David S. Miller <davem@davemloft.net> Signed-off-by:
Sasha Levin <sashal@kernel.org> (cherry picked from commit 80b188da) Signed-off-by:
Greg Kroah-Hartman <gregkh@google.com> Change-Id: I0ab33e7f6905ab1ca65637d77eb2a4114a9b74aa
Loading
Please sign in to comment