[PATCH 0/2] tty: serial: Keep UART driver state until ports are removed

From: Guangshuo Li

Date: Mon Nov 02 2026 - 19:46:25 EST


Keep shared UART state available until all ports have been removed.
The two independent fixes cover ip22zilog module exit and Samsung
per-port removal.

Prepared with AI assistance and reviewed by the submitter. The affected
objects were build-tested with W=1; configuration details are included
with each patch. No hardware or fault-injection tests were performed.

Guangshuo Li (2):
tty: serial: ip22zilog: Fix potential NULL dereference on exit
tty: serial: samsung: Fix potential NULL dereference on removal

drivers/tty/serial/ip22zilog.c | 2 +-
drivers/tty/serial/samsung_tty.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)


base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
--
2.43.0