summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2022-03-08 03:47:49 +0100
committerJakub Kicinski <kuba@kernel.org>2022-03-09 07:15:01 +0100
commitb19ab4b38b06aae12442b2de95ccf58b5dc53584 (patch)
tree429c090cadaf6c5d2955e921a98d674e3118214f /net
parentnet: dsa: mt7530: fix incorrect test in mt753x_phylink_validate() (diff)
downloadlinux-b19ab4b38b06aae12442b2de95ccf58b5dc53584.tar.xz
linux-b19ab4b38b06aae12442b2de95ccf58b5dc53584.zip
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 <linmq006@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://lore.kernel.org/r/20220308024751.2320-1-linmq006@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions