On Tue, 28 May 2024 13:54:22 +0200, Arnd Bergmann wrote: > Kbuild does not support having a source file compiled multiple times > and linked into distinct modules, or built-in and modular at the > same time. For fs-edma, there are two common components that are > linked into the fsl-edma.ko for Arm and PowerPC, plus the mcf-edma.ko > module on Coldfire. This violates the rule for compile-testing: > > scripts/Makefile.build:236: drivers/dma/Makefile: fsl-edma-common.o is added to multiple modules: fsl-edma mcf-edma > scripts/Makefile.build:236: drivers/dma/Makefile: fsl-edma-trace.o is added to multiple modules: fsl-edma mcf-edma > > [...] Applied, thanks! [1/1] dmaengine: fsl-edma: avoid linking both modules commit: fa555b5026d0bf1ba7c9e645ff75e2725a982631 Best regards, -- Vinod Koul <vkoul@xxxxxxxxxx>