Skip to content

Commit 4b2d588

Browse files
geertujnikula
authored andcommitted
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: f89632a ("drm: Add CONFIG_DRM_WERROR") Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/631a1f4c066181b54617bfe2f38b0bd0ac865b68.1711474200.git.geert+renesas@glider.be Signed-off-by: Jani Nikula <[email protected]>
1 parent 60f7738 commit 4b2d588

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ config DRM_PRIVACY_SCREEN
420420

421421
config DRM_WERROR
422422
bool "Compile the drm subsystem with warnings as errors"
423-
depends on EXPERT
423+
depends on DRM && EXPERT
424424
default n
425425
help
426426
A kernel build should not cause any compiler warnings, and this

0 commit comments

Comments
 (0)