Re: [PATCH 0/2 5.10] serial: 8250_dw: fix port leak on clock notifier failure

From: Sasha Levin

Date: Tue Sep 08 2026 - 18:42:49 EST


> This series cleans up the error handling in dw8250_probe() and fixes a
> port leak. When clk_notifier_register() fails, probe() returns an error
> but the 8250 port registered just before it stays registered: the
> matching serial8250_unregister_port() lives in dw8250_remove(), which is
> not called on probe failure.

Queued for 5.10, thanks.

--
Thanks,
Sasha