PCI/MSI: Consolidate error handling in msi_capability_init()
authorThomas Gleixner <tglx@linutronix.de>
Thu, 29 Jul 2021 21:51:54 +0000 (23:51 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 10 Aug 2021 09:03:29 +0000 (11:03 +0200)
commit8eb5ce3f78a5e5d3f1a12248f6b7dc64ebf71da6
tree61ac34b7359b57cd45eacdfe445b5fac5ef30d94
parent67961e77a39b8e975dd1906179b9224f29150357
PCI/MSI: Consolidate error handling in msi_capability_init()

Three error exits doing exactly the same ask for a common error exit point.

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.098828720@linutronix.de
drivers/pci/msi.c