aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/tc_act
diff options
context:
space:
mode:
authorJulia Lawall <julia.lawall@lip6.fr>2017-01-17 12:23:21 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-17 14:10:35 -0500
commita249708bc2aa1fe3ddf15dfac22bee519d15996b (patch)
tree0dc63920466e96fcb3f420dfcf6e35d3bc82bb62 /include/uapi/linux/tc_act
parentvirtio: don't set VIRTIO_NET_HDR_F_DATA_VALID on xmit (diff)
downloadlinux-dev-a249708bc2aa1fe3ddf15dfac22bee519d15996b.tar.xz
linux-dev-a249708bc2aa1fe3ddf15dfac22bee519d15996b.zip
stmmac: add missing of_node_put
The function stmmac_dt_phy provides several possibilities for initializing plat->mdio_node, all of which have the effect of increasing the reference count of the assigned value. This field is not updated elsewhere, so the value is live until the end of the lifetime of plat (devm_allocated), just after the end of stmmac_remove_config_dt. Thus, add an of_node_put on plat->mdio_node in stmmac_remove_config_dt. It is possible that the field mdio_node is never initialized, but of_node_put is NULL-safe, so it is also safe to call of_node_put in that case. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Acked-by: Alexandre TORGUE <alexandre.torgue@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/tc_act')
0 files changed, 0 insertions, 0 deletions