diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2024-03-26 18:31:41 +0100 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2024-03-28 12:36:04 +0200 |
commit | 4b2d588d8a7520b414290312c9b40bca48b15e39 (patch) | |
tree | 9b4a16d13d75115318c029cf2f2bf61dfb8e0115 | |
parent | 60f7738a61ec626c3a8ed09f2f90a31ead9fdb68 (diff) |
drm: DRM_WERROR should depend on DRMdrm-misc-next-2024-03-28
There is no point in asking the user about enforcing the DRM compiler
warning policy when configuring a kernel without DRM support.
Fixes: f89632a9e5fa6c47 ("drm: Add CONFIG_DRM_WERROR")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/631a1f4c066181b54617bfe2f38b0bd0ac865b68.1711474200.git.geert+renesas@glider.be
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
-rw-r--r-- | drivers/gpu/drm/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index 50b809346bf9..70a2ac0ca9fd 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -420,7 +420,7 @@ config DRM_PRIVACY_SCREEN config DRM_WERROR bool "Compile the drm subsystem with warnings as errors" - depends on EXPERT + depends on DRM && EXPERT default n help A kernel build should not cause any compiler warnings, and this |