linux-next: manual merge of the tty tree with the parisc-hd tree
Hi all,
Today's linux-next merge of the tty tree got a conflict in:
arch/parisc/kernel/pdc_cons.c
between commit:
9613b0cb3eb4 ("tty: pdc_cons, free tty_driver upon failure")
from the parisc-hd tree and commits:
0524513afe45 ("tty: don't store semi-state into tty drivers") 72fdb403008c ("tty: pdc_cons, free tty_driver upon failure")
from the tty tree.
I fixed it up (I just used the latter version) 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.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 8 lines · Stephen Rothwell
Today's linux-next merge of the tty tree got a conflict in:
arch/parisc/kernel/pdc_cons.cbetween commit:
9613b0cb3eb4("tty:pdc_cons, freetty_driverupon failure")
Quoted 8 lines
from the parisc-hd tree and commits:
0524513afe45("tty: don't store semi-state into tty drivers")72fdb403008c("tty:pdc_cons, freetty_driverupon failure")from the tty tree.
I fixed it up (I just used the latter version) ...
The latter version triggers build errors.
Jiri's patch needs fixing. Instead of:
+ tty_driver_kref_put(driver);
it needs to be:
+ tty_driver_kref_put(pdc_console_tty_driver);
Jiri, maybe you can fix it in your tree?
I'm happy to drop the patch from my tree.
Helge
Hi Helge,
Quoted 19 lines · On Mon, 30 Aug 2021 09:14:33 +0200 Helge Deller <[email protected]> wrote:
Quoted 8 lines · Stephen Rothwell
Today's linux-next merge of the tty tree got a conflict in:
arch/parisc/kernel/pdc_cons.cbetween commit:
9613b0cb3eb4("tty:pdc_cons, freetty_driverupon failure")Quoted 8 lines
from the parisc-hd tree and commits:
0524513afe45("tty: don't store semi-state into tty drivers")72fdb403008c("tty:pdc_cons, freetty_driverupon failure")from the tty tree.
I fixed it up (I just used the latter version) ...
Quoted 8 lines
The latter version triggers build errors.
Jiri's patch needs fixing. Instead of:
+tty_driver_kref_put(driver);
it needs to be:
+tty_driver_kref_put(pdc_console_tty_driver);Jiri, maybe you can fix it in your tree?
I'm happy to drop the patch from my tree.
The tty tree commits first create a "driver" variable that is used until it is clear everything works and then it is assigned to pdc_console_tty_driver.
Just remember to tell Linus about the conflict, he will figure it out.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 28 lines · Stephen Rothwell
Hi Helge,
Quoted 25 lines · On Mon, 30 Aug 2021 09:14:33 +0200 Helge Deller <[email protected]> wrote:
Quoted 8 lines · Stephen Rothwell
Today's linux-next merge of the tty tree got a conflict in:
arch/parisc/kernel/pdc_cons.cbetween commit:
9613b0cb3eb4("tty:pdc_cons, freetty_driverupon failure")Quoted 8 lines
from the parisc-hd tree and commits:
0524513afe45 ("tty: don't store semi-state into tty drivers") 72fdb403008c ("tty: pdc_cons, free tty_driver upon failure")from the tty tree.
I fixed it up (I just used the latter version) ...
The latter version triggers build errors.
Jiri's patch needs fixing. Instead of:
+tty_driver_kref_put(driver);
it needs to be:
+tty_driver_kref_put(pdc_console_tty_driver);
Quoted 6 lines
Quoted 2 lines
Jiri, maybe you can fix it in your tree?
I'm happy to drop the patch from my tree.The tty tree commits first create a "driver" variable that is used until it is clear everything works and then it is assigned to
pdc_console_tty_driver.
Ah, right. I didn't checked. Looks good and compiles cleanly. I'll drop the patch from my tree, so everything is OK now.
Helge