Re: [PATCH v3] mmc: host: Enable compile testing of multiple drivers

From: Ulf Hansson
Date: Tue Sep 08 2020 - 13:45:22 EST


+ Arnd

On Mon, 7 Sep 2020 at 12:53, Krzysztof Kozlowski <krzk@xxxxxxxxxx> wrote:
>
> Multiple MMC host controller driver can be compile tested as they do not
> depend on architecture specific headers.
>
> Signed-off-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>

It seems like this is causing build errors for my next branch when
running allmod config [1].

[...]

>
> config MMC_S3C
> tristate "Samsung S3C SD/MMC Card Interface support"
> - depends on ARCH_S3C24XX
> + depends on ARCH_S3C24XX || COMPILE_TEST
> depends on S3C24XX_DMAC
> help
> This selects a driver for the MCI interface found in

[...]

The problem doesn't exist in linux-next, since it has the
corresponding cleanup/rework patches for MMC_S3C from Arnd.

To fix the problem, we should probably remove COMPILE_TEST for
MMC_S3C, for now. Then we can add it again and send it as a fix for
v5.10-rc1.

What do you think?

Kind regards
Uffe

[1]
https://kernelci.org/build/id/5f57413db10918c9bad353a5/logs/