]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/MSI: Move descriptor counting on allocation fail to the legacy code
authorThomas Gleixner <tglx@linutronix.de>
Mon, 6 Dec 2021 22:28:00 +0000 (23:28 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 9 Dec 2021 10:52:23 +0000 (11:52 +0100)
commit958be144780642605c4bf5d5f2a6420cfe86c952
treef64e489c481820bfd64c8b026463d93244bebc66
parent359e9e9dda6ee3ce935c581e0166ec0fdd276f7b
PCI/MSI: Move descriptor counting on allocation fail to the legacy code

The irqdomain code already returns the information. Move the loop to the
legacy code.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20211206210225.101336873@linutronix.de
drivers/pci/msi/legacy.c
drivers/pci/msi/msi.c