]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
cdx: Fix missing GENERIC_MSI_IRQ on compile test
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 16 Jul 2025 06:49:04 +0000 (08:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2025 12:17:31 +0000 (14:17 +0200)
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>
Link: https://lore.kernel.org/r/20250716064903.52397-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/cdx/Kconfig

index 1f1e360507d7d5c33671c601534e82f2d4de0424..3af41f51cf38bc0611533fe7da4d16eb35b4573d 100644 (file)
@@ -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