Re: [PATCH] net: ethernet: davinci_emac: Fix devioctl while in fixed link

From: David Miller
Date: Thu Apr 28 2016 - 15:52:19 EST


From: Neil Armstrong <narmstrong@xxxxxxxxxxxx>
Date: Mon, 25 Apr 2016 19:41:38 +0200

> When configured in fixed link, the DaVinci emac driver sets the
> priv->phydev to NULL and further ioctl calls to the phy_mii_ioctl()
> causes the kernel to crash.
>
> Cc: Brian Hutchinson <b.hutchman@xxxxxxxxx>
> Fixes: 1bb6aa56bb38 ("net: davinci_emac: Add support for fixed-link PHY")
> Signed-off-by: Neil Armstrong <narmstrong@xxxxxxxxxxxx>

Applied, thanks Neil.