linux-next: manual merge of the net-next tree with the net tree
From: Stephen Rothwell
Date: Mon Apr 18 2022 - 19:34:44 EST
Hi all,
Today's linux-next merge of the net-next tree got a conflict in:
drivers/net/ethernet/microchip/lan966x/lan966x_main.c
between commit:
d08ed852560e ("net: lan966x: Make sure to release ptp interrupt")
from the net tree and commit:
c8349639324a ("net: lan966x: Add FDMA functionality")
from the net-next tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
--
Cheers,
Stephen Rothwell
diff --cc drivers/net/ethernet/microchip/lan966x/lan966x_main.c
index 95830e3e2b1f,106d8c83544d..000000000000
--- a/drivers/net/ethernet/microchip/lan966x/lan966x_main.c
+++ b/drivers/net/ethernet/microchip/lan966x/lan966x_main.c
@@@ -672,8 -687,8 +687,10 @@@ static void lan966x_cleanup_ports(struc
lan966x->ana_irq = -ENXIO;
}
+ if (lan966x->ptp_irq)
+ devm_free_irq(lan966x->dev, lan966x->ptp_irq, lan966x);
+ if (lan966x->fdma)
+ devm_free_irq(lan966x->dev, lan966x->fdma_irq, lan966x);
}
static int lan966x_probe_port(struct lan966x *lan966x, u32 p,
Attachment:
pgpD9Ao495fnA.pgp
Description: OpenPGP digital signature