diff options
| author | Johan Hovold <johan@kernel.org> | 2016-11-24 19:21:29 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-11-27 20:01:15 -0500 |
| commit | 966830340302fd79c51e2a3b9bccca9427256dee (patch) | |
| tree | 9fb4e0eeba1a2b5acb836f04c60c9116d67a50b0 /net/switchdev/switchdev.c | |
| parent | 0da60541f8a771270d310a574cb0adeefcdebcb1 (diff) | |
net: fsl/fman: fix phydev reference leak
Make sure to drop the reference taken by of_phy_find_device() during
initialisation when later freeing the struct fman_mac.
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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
