]> www.infradead.org Git - users/jedix/linux-maple.git/commit
irqchip/irq-msi-lib: Select CONFIG_GENERIC_MSI_IRQ
authorNam Cao <namcao@linutronix.de>
Mon, 30 Jun 2025 10:26:14 +0000 (12:26 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 30 Jun 2025 14:59:12 +0000 (16:59 +0200)
commiteb2c93e7028b4c9fe4761734d65ee40712d1c242
tree17d78db1167d5b46ee87c14ddac27e27ac2c25d8
parentd0b3b7b22dfa1f4b515fd3a295b3fd958f9e81af
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: 72e257c6f058 ("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/
drivers/irqchip/Kconfig