drm: have config DRM_WERROR depend on !WERROR
Subsystems (2)
PATCH 1/1 drm: have config DRM_WERROR depend on !WERROR
If WERROR is already enabled, there's no point in enabling DRM_WERROR or asking users about it.
--- drivers/gpu/drm/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/Kconfig +1 -0
@@ -450,6 +450,7 @@ config DRM_PRIVACY_SCREEN config DRM_WERROR bool "Compile the drm subsystem with warnings as errors" depends on DRM && EXPERT + depends on !WERROR default n help A kernel build should not cause any compiler warnings, and this
Signature · 1 line
2.39.2
Hi,
Quoted 7 lines · Jani Nikula
If WERROR is already enabled, there's no point in enabling
DRM_WERRORor asking users about it.Reported-by Linus Torvalds <[email protected]>Closes https://lore.kernel.org/r/CAHk-=whxT8D_0j=bjtrvj-O=VEOjn6GW8GK4j2V+BiDUntZKAQ@mail.gmail.com open hereFixes f89632a9e5fa ("drm: Add CONFIG_DRM_WERROR")Signed-off-by Jani Nikula <[email protected]>
Wow, you successfully get Linus's attention, haha.
Quoted 16 lines
--- drivers/gpu/drm/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/Kconfig +1
-0@@ -450,6 +450,7 @@ config DRM_PRIVACY_SCREEN config DRM_WERROR bool "Compile the drm subsystem with warnings as errors" depends on DRM && EXPERT + depends on !WERROR default n help A kernel build should not cause any compiler warnings, and this
Signature · 2 lines
Best regards Sui
Quoted 2 lines · Jani Nikula
If WERROR is already enabled, there's no point in enabling
DRM_WERRORor asking users about it.
Ping. Any comments? (Besides the one snark.)
BR,
Jani.
Quoted 21 lines
Reported-by Linus Torvalds <[email protected]>Closes https://lore.kernel.org/r/CAHk-=whxT8D_0j=bjtrvj-O=VEOjn6GW8GK4j2V+BiDUntZKAQ@mail.gmail.com open hereFixes f89632a9e5fa ("drm: Add CONFIG_DRM_WERROR")Signed-off-by Jani Nikula <[email protected]>--- drivers/gpu/drm/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/Kconfig +1
-0@@ -450,6 +450,7 @@ config DRM_PRIVACY_SCREEN config DRM_WERROR bool "Compile the drm subsystem with warnings as errors" depends on DRM && EXPERT + depends on !WERROR default n help A kernel build should not cause any compiler warnings, and this
Signature · 1 line
Jani Nikula, Intel
Jani Nikula <[email protected]> writes:
Hello Jani,
Quoted 8 lines
If WERROR is already enabled, there's no point in enabling
DRM_WERRORor asking users about it.Reported-by Linus Torvalds <[email protected]>Closes https://lore.kernel.org/r/CAHk-=whxT8D_0j=bjtrvj-O=VEOjn6GW8GK4j2V+BiDUntZKAQ@mail.gmail.com open hereFixes f89632a9e5fa ("drm: Add CONFIG_DRM_WERROR")Signed-off-by Jani Nikula <[email protected]>---
The change makes sense to me.
Signature · 5 lines
Best regards, Javier Martinez Canillas Core Platforms Red Hat
Quoted 13 lines · Javier Martinez Canillas
Jani Nikula <[email protected]> writes:
Hello Jani,
Quoted 8 lines
If WERROR is already enabled, there's no point in enabling
DRM_WERRORor asking users about it.Reported-by Linus Torvalds <[email protected]>Closes https://lore.kernel.org/r/CAHk-=whxT8D_0j=bjtrvj-O=VEOjn6GW8GK4j2V+BiDUntZKAQ@mail.gmail.com open hereFixes f89632a9e5fa ("drm: Add CONFIG_DRM_WERROR")Signed-off-by Jani Nikula <[email protected]>---
Quoted 3 lines
The change makes sense to me.
Reviewed-by Javier Martinez Canillas <[email protected]>
Thanks, pushed to drm-misc-fixes.
BR,
Jani.
Signature · 1 line
Jani Nikula, Intel