summaryrefslogtreecommitdiff
path: root/drivers/net/sungem_phy.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2020-01-02 17:03:19 -0800
committerDavid S. Miller <davem@davemloft.net>2020-01-05 14:27:01 -0800
commitd266f19f3ae7fbcaf92229639b78d2110ae44f33 (patch)
treeb0bf161b09b1c1713dac09e05a9a0e66bc1c2457 /drivers/net/sungem_phy.c
parentb605c9abc4d2e79eed1332be14a79960a1e9f503 (diff)
net: phy: fixed_phy: fix use-after-free when checking link GPIO
If we fail to locate GPIO for any reason other than deferral or not-found-GPIO, we try to print device tree node info, however if might be freed already as we called of_node_put() on it. Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sungem_phy.c')
0 files changed, 0 insertions, 0 deletions