Re: [PATCH] scsi: pm8001: use rollback index when freeing MSI-X vectors

From: Martin K. Petersen (Oracle)

Date: Wed Sep 02 2026 - 23:14:22 EST


On Mon, 24 Aug 2026 19:36:18 +0800, Runyu Xiao wrote:

> pm8001_request_msix() unwinds previously registered handlers with
> free_irq() when request_irq() fails. The rollback loop uses the
> failing index i for every iteration instead of the already
> registered vector index j.
>
> That passes the wrong IRQ/dev_id pair to free_irq() and leaves the
> earlier handlers installed. Use j for both pci_irq_vector() and the
> matching irq_vector entry in the rollback loop.
>
> [...]

Applied to 7.3/scsi-fixes, thanks!

[1/1] scsi: pm8001: use rollback index when freeing MSI-X vectors
https://git.kernel.org/mkp/scsi/c/3f92a6454516

--
Martin K. Petersen