[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190617174242.GL17551@lunn.ch>
Date: Mon, 17 Jun 2019 19:42:42 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Parshuram Thombare <pthombar@...ence.com>
Cc: nicolas.ferre@...rochip.com, davem@...emloft.net,
f.fainelli@...il.com, netdev@...r.kernel.org, hkallweit1@...il.com,
linux-kernel@...r.kernel.org, rafalc@...ence.com,
aniljoy@...ence.com, piotrs@...ence.com
Subject: Re: [PATCH 1/6] net: macb: add phylink support
> @@ -4217,8 +4257,8 @@ static int macb_probe(struct platform_device *pdev)
>
> tasklet_init(&bp->hresp_err_tasklet, macb_hresp_error_task,
> (unsigned long)bp);
> -
> - phy_attached_info(phydev);
> + if (dev->phydev)
> + phy_attached_info(dev->phydev);
When can this happen? I don't see anything assigning to dev->phydev.
Andrew
Powered by blists - more mailing lists