diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2018-08-30 17:47:28 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-08-30 21:15:34 -0400 |
commit | 217c3e0196758662aa0429863b09d1c13da1c5d6 (patch) | |
tree | 393862fb559905ec54a5a130ec665c716b48f6b4 /Makefile | |
parent | b6935d2aa49dabff296680a6f349b32e5a16afe0 (diff) |
disable stringop truncation warnings for now
They are too noisy
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -807,6 +807,9 @@ KBUILD_CFLAGS += $(call cc-option,-Wdeclaration-after-statement,) | |||
807 | # disable pointer signed / unsigned warnings in gcc 4.0 | 807 | # disable pointer signed / unsigned warnings in gcc 4.0 |
808 | KBUILD_CFLAGS += $(call cc-disable-warning, pointer-sign) | 808 | KBUILD_CFLAGS += $(call cc-disable-warning, pointer-sign) |
809 | 809 | ||
810 | # disable stringop warnings in gcc 8+ | ||
811 | KBUILD_CFLAGS += $(call cc-disable-warning, stringop-truncation) | ||
812 | |||
810 | # disable invalid "can't wrap" optimizations for signed / pointers | 813 | # disable invalid "can't wrap" optimizations for signed / pointers |
811 | KBUILD_CFLAGS += $(call cc-option,-fno-strict-overflow) | 814 | KBUILD_CFLAGS += $(call cc-option,-fno-strict-overflow) |
812 | 815 | ||