Skip to content

Commit

Permalink
Revert "dpaa_eth: fix usage as DSA master, try 3"
Browse files Browse the repository at this point in the history
This reverts commit 40a904b.

The patch is not wrong, but the Fixes: tag is. It should have been:

	Fixes: 060ad66 ("dpaa_eth: change DMA device")

which means that it's fixing a commit which was introduced in:

git tag --contains 060ad66
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@infinera.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Vladimir Oltean authored and Greg Kroah-Hartman committed Jul 31, 2020
1 parent 4918285 commit 909dbf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -2802,7 +2802,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);
Expand Down

0 comments on commit 909dbf0

Please sign in to comment.