Re: linux-next: manual merge of the tty tree with the parisc-hd tree

From: Stephen Rothwell
Date: Mon Aug 30 2021 - 03:33:18 EST


Hi Helge,

On Mon, 30 Aug 2021 09:14:33 +0200 Helge Deller <deller@xxxxxx> wrote:
>
> On 8/30/21 7:46 AM, Stephen Rothwell wrote:
> > 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) ...
>
> 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.
--
Cheers,
Stephen Rothwell

Attachment: pgp6UiBgpC2pR.pgp
Description: OpenPGP digital signature