OSDN Git Service

genirq/msi, treewide: Use a named struct for PCI/MSI attributes
authorThomas Gleixner <tglx@linutronix.de>
Mon, 6 Dec 2021 22:27:39 +0000 (23:27 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 9 Dec 2021 10:52:21 +0000 (11:52 +0100)
commite58f2259b91c02974c20db7b28d39d810a21249b
treee6c74b853f3d0386990f1c639d631e62548a075d
parentbec61847cdc7ff22d6d85e6e6436d4b7416c1f9b
genirq/msi, treewide: Use a named struct for PCI/MSI attributes

The unnamed struct sucks and is in the way of further cleanups. Stick the
PCI related MSI data into a real data structure and cleanup all users.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211206210224.374863119@linutronix.de
arch/powerpc/platforms/cell/axon_msi.c
arch/powerpc/platforms/powernv/pci-ioda.c
arch/powerpc/platforms/pseries/msi.c
arch/sparc/kernel/pci_msi.c
arch/x86/kernel/apic/msi.c
arch/x86/pci/xen.c
drivers/net/wireless/ath/ath11k/pci.c
drivers/pci/msi.c
drivers/pci/xen-pcifront.c
include/linux/msi.h
kernel/irq/msi.c