Re: [PATCH] serial: core: fix TIOCSSERIAL and TIOCSERCONFIG on uninitialised ports
From: Sasha Levin
Date: Sat Oct 10 2026 - 02:16:22 EST
On Fri, Oct 09, 2026 at 11:46:16PM -0400, Hengyu Liang wrote:
> Commit 8ca59f7baee7 ("serial: fix ioctl hangup race") made
> uart_set_info() and uart_do_autoconfig() return -EIO when TTY_IO_ERROR
> is set, so that they do not run on a port that has been hung up.
Dropped 8ca59f7baee7 from the 7.2 queue along with the following dependency:
- serial: abort TIOCMIWAIT on hangup (eb35b73e1336), which needs it
6.18 had already dropped both of them.
We will pick 8ca59f7baee7 back up together with your fix once that is in
mainline.
Thanks for the report.
--
Thanks,
Sasha