From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f68.google.com ([209.85.160.68]:43255 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752567AbeBDBD0 (ORCPT ); Sat, 3 Feb 2018 20:03:26 -0500 Date: Sun, 4 Feb 2018 12:02:35 +1100 From: Johan Hovold To: Sebastian Andrzej Siewior Cc: linux-serial@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby , Johan Hovold , Nikola Ciprich , stable@vger.kernel.org Subject: Re: [PATCH] serial: core: mark port as initialized in autoconfig Message-ID: <20180204010235.GE7714@localhost> References: <20180203112723.11129-1-bigeasy@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180203112723.11129-1-bigeasy@linutronix.de> Sender: stable-owner@vger.kernel.org List-ID: On Sat, Feb 03, 2018 at 12:27:23PM +0100, Sebastian Andrzej Siewior wrote: > This is a followup on 44117a1d1732 ("serial: core: mark port as > initialized after successful IRQ change"). > Nikola has been using autoconfig via setserial and reported a crash > similar to what I fixed in the earlier mentioned commit. Here I do the > same fixup for the autoconfig. I wasn't sure that this is the right > approach. Nikola confirmed that it fixes his crash. > > Fixes: b3b576461864 ("tty: serial_core: convert uart_open to use tty_port_open") > Link: http://lkml.kernel.org/r/20180131072000.GD1853@localhost.localdomain > Reported-by: Nikola Ciprich > Tested-by: Nikola Ciprich > Cc: Johan Hovold > Cc: Nikola Ciprich > Cc: > Signed-off-by: Sebastian Andrzej Siewior Acked-by: Johan Hovold