aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2022-06-03 17:32:38 +0400
committerJakub Kicinski <[email protected]>2022-06-06 14:38:15 -0700
commitb8d91399775c55162073bb2aca061ec42e3d4bc1 (patch)
treed40d12c1ee2b8b8ee0239337406ca67e17fb454d /scripts/gdb/linux/tasks.py
parent41bdb8a0cc4722d7e00606a49b35921652821cea (diff)
net: ethernet: bgmac: Fix refcount leak in bcma_mdio_mii_register
of_get_child_by_name() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak. Fixes: 55954f3bfdac ("net: ethernet: bgmac: move BCMA MDIO Phy code into a separate file") 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 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions