Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9d578c3 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "net: stmmac: Add NULL check"

parents d4ac95b1 750a0962
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -998,7 +998,7 @@ static void stmmac_mac_link_up(struct phylink_config *config,
		stmmac_set_eee_pls(priv, priv->hw, true);
	}
#ifdef CONFIG_MSM_BOOT_TIME_MARKER
	if (phy->link == 1 && !priv->boot_kpi) {
	if ((phy && phy->link == 1) && !priv->boot_kpi) {
		place_marker("M - Ethernet is Ready.Link is UP");
		priv->boot_kpi = true;
	}