irqchip/irq-msi-lib: Select CONFIG_GENERIC_MSI_IRQ

irq-msi-lib directly uses struct msi_domain_info and more things which are
only available when CONFIG_GENERIC_MSI_IRQ=y.

However, there is no dependency specified and CONFIG_IRQ_MSI_LIB can be
enabled without CONFIG_GENERIC_MSI_IRQ, which causes the kernel build fail.

Make IRQ_MSI_LIB select GENEREIC_MSI_IRQ to prevent that.

Fixes: 72e257c6f0 ("irqchip: Provide irq-msi-lib")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/b0c44007f3b7e062228349a2395f8d850050db33.1751277765.git.namcao@linutronix.de
Closes: https://lore.kernel.org/oe-kbuild-all/202506282256.cHlEHrdc-lkp@intel.com/
This commit is contained in:
Nam Cao 2025-06-30 12:26:14 +02:00 committed by Thomas Gleixner
parent d0b3b7b22d
commit eb2c93e702

View File

@ -74,6 +74,7 @@ config ARM_VIC_NR
config IRQ_MSI_LIB
bool
select GENERIC_MSI_IRQ
config ARMADA_370_XP_IRQ
bool