diff options
author | 2014-08-07 21:58:46 +0200 | |
---|---|---|
committer | 2014-08-07 16:02:58 -0700 | |
commit | c891c24c62b376e508a45eeeb9f37e1b94173126 (patch) | |
tree | 80e60ad7b5136a529507c97198afcd8c6ac78208 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net: gianfar: no need to check parameter being != NULL for of_node_put (diff) | |
download | linux-dev-c891c24c62b376e508a45eeeb9f37e1b94173126.tar.xz linux-dev-c891c24c62b376e508a45eeeb9f37e1b94173126.zip |
net: mvneta: Fix reference counting for phy_node
If there is a "phy" handle the probe function returns with holding a
reference to that node. Make sure that in the fixed phy case there is
also held a reference to yield a consistant state.
Also add the corresponding of_node_put in the error path and the remove
function.
Fixes: 83895bedeee6 ("net: mvneta: add support for fixed links")
Fixes: c5aff18204da ("net: mvneta: driver for Marvell Armada 370/XP network unit")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions