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)
commit7327cefebb85d440fa6a589fdf53979d55b29a5a
tree925c895a9ce18a00ce916524e378f8b2027d743b
parentb296ababcc4bbf8efbb603d3aec6024a78662c1b
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