aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/netconsole.c
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2022-03-16 08:26:02 +0000
committerPaolo Abeni <[email protected]>2022-03-17 13:13:27 +0100
commitcb0b430b4e3acc88c85e0ad2e25f2a25a5765262 (patch)
tree86e2f95358eafd628bf2895594859f549f1352e9 /drivers/net/netconsole.c
parent4ee06de7729d795773145692e246a06448b1eb7a (diff)
net: dsa: Add missing of_node_put() in dsa_port_parse_of
The device_node pointer is returned by of_parse_phandle() with refcount incremented. We should use of_node_put() on it when done. Fixes: 6d4e5c570c2d ("net: dsa: get port type at parse time") Signed-off-by: Miaoqian Lin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/net/netconsole.c')
0 files changed, 0 insertions, 0 deletions