Skip to content
Commit d266f19f authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b605c9ab
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment