]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/MSI: Cleanup msi_mask()
authorThomas Gleixner <tglx@linutronix.de>
Thu, 29 Jul 2021 21:51:56 +0000 (23:51 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 10 Aug 2021 09:03:30 +0000 (11:03 +0200)
commit543977d54cc85f7158877bc40856d7e774f724e6
tree925c895a9ce18a00ce916524e378f8b2027d743b
parentc23b5a3184e31d06252f520b21f44f05c5f0b5f6
PCI/MSI: Cleanup msi_mask()

msi_mask() is calculating the possible mask bits for MSI per vector
masking.

Rename it to msi_multi_mask() and hand the MSI descriptor pointer into it
to simplify the call sites.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210729222543.203905260@linutronix.de
drivers/pci/msi.c