From: Christian Lamparter <chunk...@googlemail.com> Date: Mon, 6 Mar 2017 14:34:27 +0100
> Julian Margetson reported a panic on his SAM460EX with Kernel 4.11-rc1: ... > The problem is caused by emac_dt_phy_probe() returing success (0) > for existing device-trees configurations that do not specify a > "phy-handle" property. This caused the code to skip the existing > phy probe and setup. Which led to essential phy related > data-structures being uninitialized. > > This patch also removes the unused variable in emac_dt_phy_connect(). > > Fixes: a577ca6badb5261d ("net: emac: add support for device-tree based PHY > discovery and setup") > Reported-by: Julian Margetson <runa...@candw.ms> > Signed-off-by: Christian Lamparter <chunk...@googlemail.com> Applied, thanks.