Thread (28 messages) flat view 28 messages, 3 authors, 2019-06-19

Re: [PATCH 1/6] net: macb: add phylink support

From: Andrew Lunn <andrew@lunn.ch>
Date: 2019-06-17 17:42:52
Also in: lkml

quoted hunk ↗ jump to hunk
@@ -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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help