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

Guangshuo Li liguangshuo at mail.sdu.edu.cn
Mon Nov 2 16:45:45 PST 2026


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




More information about the linux-arm-kernel mailing list