Commit 4b2d588d authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Jani Nikula

drm: DRM_WERROR should depend on DRM

There is no point in asking the user about enforcing the DRM compiler
warning policy when configuring a kernel without DRM support.

Fixes: f89632a9 ("drm: Add CONFIG_DRM_WERROR")
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/631a1f4c066181b54617bfe2f38b0bd0ac865b68.1711474200.git.geert+renesas@glider.beSigned-off-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 60f7738a
...@@ -420,7 +420,7 @@ config DRM_PRIVACY_SCREEN ...@@ -420,7 +420,7 @@ config DRM_PRIVACY_SCREEN
config DRM_WERROR config DRM_WERROR
bool "Compile the drm subsystem with warnings as errors" bool "Compile the drm subsystem with warnings as errors"
depends on EXPERT depends on DRM && EXPERT
default n default n
help help
A kernel build should not cause any compiler warnings, and this A kernel build should not cause any compiler warnings, and this
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment