diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2022-12-29 09:29:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-12-30 10:46:10 +0300 |
commit | d039535850ee47079d59527e96be18d8e0daa84b (patch) | |
tree | b11bc682ee4cafaab8d09617b15aaa823616d384 /tools/perf/scripts/python/task-analyzer.py | |
parent | 72f299b0ca3be44650a5607368329a5d9666c0e3 (diff) | |
download | linux-d039535850ee47079d59527e96be18d8e0daa84b.tar.xz |
net: phy: xgmiitorgmii: Fix refcount leak in xgmiitorgmii_probe
of_phy_find_device() return device node with refcount incremented.
Call put_device() to relese it when not needed anymore.
Fixes: ab4e6ee578e8 ("net: phy: xgmiitorgmii: Check phy_driver ready before accessing")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions