diff options
| author | Neil Armstrong <narmstrong@baylibre.com> | 2016-04-25 19:41:38 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:26:30 +0200 |
| commit | 0697b3069b5eac0f718fae5dcff521b943fdd89a (patch) | |
| tree | 217ac5816de2056a38c7da71b38a1293ff0bac79 /scripts/patch-kernel | |
| parent | de57817d971a54d415981f7a61fa7c50749a3f70 (diff) | |
net: ethernet: davinci_emac: Fix devioctl while in fixed link
commit 62522ef3c399996f6c8120bfd14b94280bc9f490 upstream.
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@gmail.com>
Fixes: 1bb6aa56bb38 ("net: davinci_emac: Add support for fixed-link PHY")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
