diff mbox series

drm/i915: re-disable -Wframe-address

Message ID 20200426214215.139435-1-ndesaulniers@google.com
State Accepted
Commit 9f4069b055d1508c833115df7493b6e0001e5c9b
Headers show
Series drm/i915: re-disable -Wframe-address | expand

Commit Message

Nick Desaulniers April 26, 2020, 9:42 p.m. UTC
The top level Makefile disables this warning. When building an
i386_defconfig with Clang, this warning is triggered a whole bunch via
includes of headers from perf.

Link: https://github.com/ClangBuiltLinux/continuous-integration/pull/182
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>

---
 drivers/gpu/drm/i915/Makefile | 1 +
 1 file changed, 1 insertion(+)

-- 
2.26.2.303.gf8c07b1a785-goog

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Comments

Nathan Chancellor April 26, 2020, 10:24 p.m. UTC | #1
On Sun, Apr 26, 2020 at 02:42:15PM -0700, 'Nick Desaulniers' via Clang Built Linux wrote:
> The top level Makefile disables this warning. When building an

> i386_defconfig with Clang, this warning is triggered a whole bunch via

> includes of headers from perf.

> 

> Link: https://github.com/ClangBuiltLinux/continuous-integration/pull/182

> Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>


This is not technically a clang specific warning but I assume it is only
visible with clang so this location is probably fine.

Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
diff mbox series

Patch

diff --git a/drivers/gpu/drm/i915/Makefile b/drivers/gpu/drm/i915/Makefile
index 6f112d8f80ca..8c2257437471 100644
--- a/drivers/gpu/drm/i915/Makefile
+++ b/drivers/gpu/drm/i915/Makefile
@@ -22,6 +22,7 @@  subdir-ccflags-y += $(call cc-disable-warning, sign-compare)
 subdir-ccflags-y += $(call cc-disable-warning, sometimes-uninitialized)
 subdir-ccflags-y += $(call cc-disable-warning, initializer-overrides)
 subdir-ccflags-y += $(call cc-disable-warning, uninitialized)
+subdir-ccflags-y += $(call cc-disable-warning, frame-address)
 subdir-ccflags-$(CONFIG_DRM_I915_WERROR) += -Werror
 
 # Fine grained warnings disable