aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2022-03-08 02:47:49 +0000
committerJakub Kicinski <[email protected]>2022-03-08 22:15:01 -0800
commitb19ab4b38b06aae12442b2de95ccf58b5dc53584 (patch)
tree429c090cadaf6c5d2955e921a98d674e3118214f /net/lapb/lapb_iface.c
parente5417cbf7ab5df1632e68fe7d9e6331fc0e7dbd6 (diff)
ethernet: Fix error handling in xemaclite_of_probe
This node pointer is returned by of_parse_phandle() with refcount incremented in this function. Calling of_node_put() to avoid the refcount leak. As the remove function do. Fixes: 5cdaaa12866e ("net: emaclite: adding MDIO and phy lib support") Signed-off-by: Miaoqian Lin <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions