genirq/msi: Use MSI_DESC_ALL in msi_add_simple_msi_descs()
authorThomas Gleixner <tglx@linutronix.de>
Fri, 11 Nov 2022 13:54:20 +0000 (14:54 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 17 Nov 2022 14:15:18 +0000 (15:15 +0100)
commitbefd780253e774ea9388dd8dfad7c627a0aa7e02
treee1ba1e89a6892229bf68b95322341189582d5d35
parent1c82f0d3fcdcb509a7ba1a2c8f58890155750b00
genirq/msi: Use MSI_DESC_ALL in msi_add_simple_msi_descs()

There are no associated MSI descriptors in the requested range when the MSI
descriptor allocation fails. Use MSI_DESC_ALL as the filter which prepares
the next step to get rid of the filter for freeing.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ashok Raj <ashok.raj@intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20221111122013.831151822@linutronix.de
kernel/irq/msi.c