projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60f7738
)
drm: DRM_WERROR should depend on DRM
author
Geert Uytterhoeven
<geert+renesas@glider.be>
Tue, 26 Mar 2024 17:31:41 +0000
(18:31 +0100)
committer
Jani Nikula
<jani.nikula@intel.com>
Thu, 28 Mar 2024 10:36:04 +0000
(12:36 +0200)
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>
drivers/gpu/drm/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/Kconfig
b/drivers/gpu/drm/Kconfig
index 50b809346bf9c7461964c670cd185560e490cfb9..70a2ac0ca9fd2069c4c7f73901ed9129a73f13d4 100644
(file)
--- 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