linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] cdx: Fix missing GENERIC_MSI_IRQ on compile test
@ 2025-07-16  6:49 Krzysztof Kozlowski
  2025-07-16 20:12 ` Randy Dunlap
  2025-07-17 19:33 ` Alex Williamson
  0 siblings, 2 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2025-07-16  6:49 UTC (permalink / raw)
  To: Nipun Gupta, Nikhil Agarwal, Krzysztof Kozlowski,
	Greg Kroah-Hartman, linux-kernel
  Cc: Randy Dunlap

CDX_BUS driver uses msi_setup_device_data() which is selected by
GENERIC_MSI_IRQ, thus compile testing without the latter failed:

  /usr/bin/ld: drivers/cdx/cdx.o: in function `cdx_probe':
  build/drivers/cdx/cdx.c:314: undefined reference to `msi_setup_device_data'

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Closes: https://lore.kernel.org/all/b2c54a12-480c-448a-8b90-333cb03d9c14@infradead.org/
Fixes: 7f81907b7e3f ("cdx: Enable compile testing")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/cdx/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/cdx/Kconfig b/drivers/cdx/Kconfig
index 1f1e360507d7..3af41f51cf38 100644
--- a/drivers/cdx/Kconfig
+++ b/drivers/cdx/Kconfig
@@ -8,6 +8,7 @@
 config CDX_BUS
 	bool "CDX Bus driver"
 	depends on OF && ARM64 || COMPILE_TEST
+	select GENERIC_MSI_IRQ
 	help
 	  Driver to enable Composable DMA Transfer(CDX) Bus. CDX bus
 	  exposes Fabric devices which uses composable DMA IP to the
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-07-24  7:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-16  6:49 [PATCH] cdx: Fix missing GENERIC_MSI_IRQ on compile test Krzysztof Kozlowski
2025-07-16 20:12 ` Randy Dunlap
2025-07-17 19:33 ` Alex Williamson
2025-07-17 20:40   ` Alex Williamson
2025-07-18 14:08     ` Krzysztof Kozlowski
2025-07-24  7:29     ` Agarwal, Nikhil
2025-07-18 13:34   ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).