Re: [PATCH] drm: have config DRM_WERROR depend on !WERROR

From: Javier Martinez Canillas
Date: Fri Jun 07 2024 - 08:37:57 EST


Jani Nikula <jani.nikula@xxxxxxxxx> writes:

Hello Jani,

> If WERROR is already enabled, there's no point in enabling DRM_WERROR or
> asking users about it.
>
> Reported-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> Closes: https://lore.kernel.org/r/CAHk-=whxT8D_0j=bjtrvj-O=VEOjn6GW8GK4j2V+BiDUntZKAQ@xxxxxxxxxxxxxx
> Fixes: f89632a9e5fa ("drm: Add CONFIG_DRM_WERROR")
> Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx>
> ---

The change makes sense to me.

Reviewed-by: Javier Martinez Canillas <javierm@xxxxxxxxxx>

--
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat