Re: [patch V2 17/36] PCI/MSI: Use msi_desc::msi_index

2021-12-07 Thread Bjorn Helgaas
On Mon, Dec 06, 2021 at 11:39:23PM +0100, Thomas Gleixner wrote: > The usage of msi_desc::pci::entry_nr is confusing at best. It's the index > into the MSI[X] descriptor table. > > Use msi_desc::msi_index which is shared between all MSI incarnations > instead of having a PCI specific storage for

[patch V2 17/36] PCI/MSI: Use msi_desc::msi_index

2021-12-06 Thread Thomas Gleixner
The usage of msi_desc::pci::entry_nr is confusing at best. It's the index into the MSI[X] descriptor table. Use msi_desc::msi_index which is shared between all MSI incarnations instead of having a PCI specific storage for no value. Signed-off-by: Thomas Gleixner Reviewed-by: Greg Kroah-Hartman