Skip to content
Commit 5fe86453 authored by Lv Ruyi's avatar Lv Ruyi Committed by Greg Kroah-Hartman
Browse files

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: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarLv Ruyi <lv.ruyi@zte.com.cn>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 48e1db2c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment