Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1531632

Re: [PATCH net 11/16] net: ethernet: marvell: mvneta: fix fixed-link phydev leaks

From Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Newsgroups linux.kernel
Subject Re: [PATCH net 11/16] net: ethernet: marvell: mvneta: fix fixed-link phydev leaks
Date 2016-11-28 21:20 +0100
Message-ID <sIAz8-6P8-29@gated-at.bofh.it> (permalink)
References <sIyQF-5J3-7@gated-at.bofh.it> <sIz0m-5MH-23@gated-at.bofh.it>
Organization Free Electrons

Show all headers | View raw


Hello,

On Mon, 28 Nov 2016 19:25:04 +0100, Johan Hovold wrote:
> Make sure to deregister and free any fixed-link PHY registered using
> of_phy_register_fixed_link() on probe errors and on driver unbind.
> 
> Fixes: 83895bedeee6 ("net: mvneta: add support for fixed links")
> Signed-off-by: Johan Hovold <johan@kernel.org>
> ---
>  drivers/net/ethernet/marvell/mvneta.c | 5 +++++
>  1 file changed, 5 insertions(+)

Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH net 00/16] net: fix fixed-link phydev leaks Johan Hovold <johan@kernel.org> - 2016-11-28 19:40 +0100
  [PATCH net 08/16] net: ethernet: fs_enet: fix fixed-link phydev leaks Johan Hovold <johan@kernel.org> - 2016-11-28 19:40 +0100
  [PATCH net 11/16] net: ethernet: marvell: mvneta: fix fixed-link phydev leaks Johan Hovold <johan@kernel.org> - 2016-11-28 19:40 +0100
    Re: [PATCH net 11/16] net: ethernet: marvell: mvneta: fix  fixed-link phydev leaks Thomas Petazzoni <thomas.petazzoni@free-electrons.com> - 2016-11-28 21:20 +0100
  [PATCH net 09/16] net: ethernet: gianfar: fix fixed-link phydev leaks Johan Hovold <johan@kernel.org> - 2016-11-28 19:40 +0100
  [PATCH net 05/16] net: ethernet: bcmsysport: fix fixed-link phydev leaks Johan Hovold <johan@kernel.org> - 2016-11-28 19:40 +0100
  [PATCH net 12/16] net: ethernet: mediatek: fix fixed-link phydev leaks Johan Hovold <johan@kernel.org> - 2016-11-28 19:50 +0100
  Re: [PATCH net 00/16] net: fix fixed-link phydev leaks David Miller <davem@davemloft.net> - 2016-11-30 05:20 +0100

csiph-web