]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915: re-disable -Wframe-address
authorNick Desaulniers <ndesaulniers@google.com>
Sun, 26 Apr 2020 21:42:15 +0000 (14:42 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 27 Apr 2020 08:58:27 +0000 (09:58 +0100)
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>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200426214215.139435-1-ndesaulniers@google.com
drivers/gpu/drm/i915/Makefile

index ce24a4ee95918849b91a7125c2a30e052a3a8833..21bb2fb5a6b83a1aa5b503f804fb359445326235 100644 (file)
@@ -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