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


Groups > linux.kernel > #1540429

Re: [PATCH 2/2] net: ethernet: hip04: Call SET_NETDEV_DEV()

From Florian Fainelli <f.fainelli@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] net: ethernet: hip04: Call SET_NETDEV_DEV()
Date 2016-12-12 17:30 +0100
Message-ID <sNBEd-6Ao-39@gated-at.bofh.it> (permalink)
References <sNxKh-4cY-7@gated-at.bofh.it> <sNxKh-4cY-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 12/12/2016 04:03 AM, Dongpo Li wrote:
> The hip04 driver calls into PHYLIB which now checks for
> net_device->dev.parent, so make sure we do set it before calling into
> any MDIO/PHYLIB related function.
> 
> Fixes: ec988ad78ed6 ("phy: Don't increment MDIO bus refcount unless it's a different owner")
> Signed-off-by: Dongpo Li <lidongpo@hisilicon.com>

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian

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


Thread

[PATCH 0/2] net: ethernet: hisilicon: set dev->dev.parent before PHY connect Dongpo Li <lidongpo@hisilicon.com> - 2016-12-12 13:20 +0100
  [PATCH 2/2] net: ethernet: hip04: Call SET_NETDEV_DEV() Dongpo Li <lidongpo@hisilicon.com> - 2016-12-12 13:20 +0100
    Re: [PATCH 2/2] net: ethernet: hip04: Call SET_NETDEV_DEV() Florian Fainelli <f.fainelli@gmail.com> - 2016-12-12 17:30 +0100
  [PATCH 1/2] net: ethernet: hisi_femac: Call SET_NETDEV_DEV() Dongpo Li <lidongpo@hisilicon.com> - 2016-12-12 13:20 +0100
    Re: [PATCH 1/2] net: ethernet: hisi_femac: Call SET_NETDEV_DEV() Florian Fainelli <f.fainelli@gmail.com> - 2016-12-12 17:30 +0100
  Re: [PATCH 0/2] net: ethernet: hisilicon: set dev->dev.parent before  PHY connect Florian Fainelli <f.fainelli@gmail.com> - 2016-12-12 17:30 +0100
  Re: [PATCH 0/2] net: ethernet: hisilicon: set dev->dev.parent  before PHY connect David Miller <davem@davemloft.net> - 2016-12-16 19:40 +0100

csiph-web