]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
disable stringop truncation warnings for now
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 30 Aug 2018 21:47:28 +0000 (07:47 +1000)
committerSultan Alsawaf <sultan.alsawaf@canonical.com>
Wed, 24 Jul 2019 15:45:00 +0000 (09:45 -0600)
BugLink: https://bugs.launchpad.net/bugs/1837161
commit 217c3e0196758662aa0429863b09d1c13da1c5d6 upstream.

They are too noisy

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
Makefile

index fa2420cead8796c1657df80d1163935ddacaddae..bcb3572148df7d100312401bd8c5c83e84cae8b6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -829,6 +829,9 @@ KBUILD_CFLAGS += $(call cc-option,-Wdeclaration-after-statement,)
 # disable pointer signed / unsigned warnings in gcc 4.0
 KBUILD_CFLAGS += $(call cc-disable-warning, pointer-sign)
 
+# disable stringop warnings in gcc 8+
+KBUILD_CFLAGS += $(call cc-disable-warning, stringop-truncation)
+
 # disable invalid "can't wrap" optimizations for signed / pointers
 KBUILD_CFLAGS  += $(call cc-option,-fno-strict-overflow)