[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200624124013.3210537-1-olteanv@gmail.com>
Date: Wed, 24 Jun 2020 15:40:13 +0300
From: Vladimir Oltean <olteanv@...il.com>
To: stable@...r.kernel.org, gregkh@...uxfoundation.org,
netdev@...r.kernel.org
Cc: madalin.bucur@....nxp.com, camelia.groza@....com,
joakim.tjernlund@...inera.com, fido_max@...ox.ru,
linux-kernel@...r.kernel.org
Subject: [PATCH stable-5.4.y] Revert "dpaa_eth: fix usage as DSA master, try 3"
From: Vladimir Oltean <vladimir.oltean@....com>
This reverts commit b145710b69388aa4034d32b4a937f18f66b5538e.
The patch is not wrong, but the Fixes: tag is. It should have been:
Fixes: 060ad66f9795 ("dpaa_eth: change DMA device")
which means that it's fixing a commit which was introduced in:
git tag --contains 060ad66f97954
v5.5
which then means it should have not been backported to linux-5.4.y,
where things _were_ working and now they're not.
Reported-by: Joakim Tjernlund <joakim.tjernlund@...inera.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@....com>
---
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c b/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
index 6683409fbd4a..4b21ae27a9fd 100644
--- a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
+++ b/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
@@ -2796,7 +2796,7 @@ static int dpaa_eth_probe(struct platform_device *pdev)
}
/* Do this here, so we can be verbose early */
- SET_NETDEV_DEV(net_dev, dev->parent);
+ SET_NETDEV_DEV(net_dev, dev);
dev_set_drvdata(dev, net_dev);
priv = netdev_priv(net_dev);
--
2.25.1
Powered by blists - more mailing lists