]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
net: fsl/fman: fix fixed-link-phydev reference leak
authorJohan Hovold <johan@kernel.org>
Thu, 24 Nov 2016 18:21:30 +0000 (19:21 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Nov 2016 01:01:15 +0000 (20:01 -0500)
commitcb1f3410ff12520b22fa03ccd23892c360de0c26
tree7c0eb02cb996f95a1e847cbce79c59049f7a9e86
parent966830340302fd79c51e2a3b9bccca9427256dee
net: fsl/fman: fix fixed-link-phydev reference leak

Make sure to drop the reference taken by of_phy_find_device() when
looking up a fixed-link phydev during probe.

Fixes: 57ba4c9b56d8 ("fsl/fman: Add FMan MAC support")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fman/mac.c