From: Wen Yang <wen.yan...@zte.com.cn> Date: Sat, 6 Jul 2019 12:23:41 +0800
> The phy_dn variable is still being used in of_phy_connect() after the > of_node_put() call, which may result in use-after-free. > > Fixes: 1dd2d06c0459 ("net: Rework pasemi_mac driver to use of_mdio > infrastructure") > Signed-off-by: Wen Yang <wen.yan...@zte.com.cn> Applied.