]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit73e74b0480956c551968556cb1280ab5ab4cfc80
tree61ac34b7359b57cd45eacdfe445b5fac5ef30d94
parentc13ad08ea03a0b2a13a77c7ef2bf3f9928c73a7e
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