Re: [PATCH] sim710: Fix resource leak by adding missing ioport_unmap calls

From: Martin K. Petersen

Date: Wed Nov 19 2025 - 23:16:43 EST


On Wed, 29 Oct 2025 11:25:55 +0800, Haotian Zhang wrote:

> The driver calls ioport_map() to map I/O ports in sim710_probe_common()
> but never calls ioport_unmap() to release the mapping. This causes
> resource leaks in both the error path when request_irq() fails and in
> the normal device removal path via sim710_device_remove().
>
> Add ioport_unmap() calls in the out_release error path and in
> sim710_device_remove().
>
> [...]

Applied to 6.19/scsi-queue, thanks!

[1/1] sim710: Fix resource leak by adding missing ioport_unmap calls
https://git.kernel.org/mkp/scsi/c/acd194d9b5ba

--
Martin K. Petersen