AW: [PATCH] mtd: nand: realtek-ecc: Fix Kconfig dependencies

markus.stockhausen at gmx.de markus.stockhausen at gmx.de
Thu Nov 20 00:59:55 PST 2025


Hi Miquel,

> Von: Miquel Raynal <miquel.raynal at bootlin.com> 
> Gesendet: Mittwoch, 19. November 2025 20:34
> 
> The driver uses DMA but does not mark it as a prerequisite in
> Kconfig. As it is also defined with COMPILE_TEST, autobuilders complain
> about certain symbols not being available when linking on architectures
> without DMA support (?) like sh.
>
> Reported-by: kernel test robot <lkp at intel.com>
> Closes:
https://lore.kernel.org/oe-kbuild-all/202511071114.8WeW2GZK-lkp@intel.com
> Cc: Markus Stockhausen <markus.stockhausen at gmx.de>
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
> ---
...
> -        depends on HAS_IOMEM
> +        depends on HAS_IOMEM && HAS_DMA

Thanks fort he fix.

Markus




More information about the linux-mtd mailing list