Messages in this thread | | | Subject | Re: [PATCHv2 4/4] tty: Simplify tty->count math in tty_reopen() | From | Jiri Slaby <> | Date | Tue, 4 Sep 2018 11:03:17 +0200 |
| |
On 09/03/2018, 06:52 PM, Dmitry Safonov wrote: > As noted by Jiri, tty_ldisc_reinit() shouldn't rely on tty counter. > Simplify math by increasing the counter after reinit success. > > Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > Cc: Jiri Slaby <jslaby@suse.com>
Reviewed-by: Jiri Slaby <jslaby@suse.cz>
> Link: lkml.kernel.org/r/<20180829022353.23568-2-dima@arista.com> > Suggested-by: Jiri Slaby <jslaby@suse.com> > Signed-off-by: Dmitry Safonov <dima@arista.com>
thanks, -- js suse labs
| |