diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-12-11 01:19:18 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2021-12-17 00:16:40 +0300 |
commit | 173ffad79d177d9a91fbf3be6bf67ca81e0f765a (patch) | |
tree | ff852acdd9a5996067b67a4c44b6fe997cd45a1f /block | |
parent | 0f18095871fc59c89a281caf6f18538cf9e50fbf (diff) | |
download | linux-173ffad79d177d9a91fbf3be6bf67ca81e0f765a.tar.xz |
PCI/MSI: Use msi_desc::msi_index
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 <tglx@linutronix.de>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Tested-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20211210221814.602911509@linutronix.de
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions