[PATCH v2] drm/pl111: Actually fix CONFIG_VEXPRESS_CONFIG depends

Linus Walleij linus.walleij at linaro.org
Fri Jun 4 07:44:59 UTC 2021


On Fri, Jun 4, 2021 at 3:41 AM Kees Cook <keescook at chromium.org> wrote:

> VEXPRESS_CONFIG needs to either be missing, built-in, or modular when
> pl111 is modular. Update the Kconfig to reflect the need.
>
> Fixes: 4dc7c97d04dc ("drm/pl111: depend on CONFIG_VEXPRESS_CONFIG")

Yeah that doesn't work, thanks for fixing this!

> Signed-off-by: Kees Cook <keescook at chromium.org>

> -       depends on VEXPRESS_CONFIG
> +       depends on ARM || ARM64 || COMPILE_TEST
> +       depends on VEXPRESS_CONFIG || VEXPRESS_CONFIG=n

That's the right solution,
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij


More information about the dri-devel mailing list