projects
/
profile
/
wearable
/
platform
/
kernel
/
linux-3.18-exynos7270.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b1fe42
)
disable stringop truncation warnings for now
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Thu, 30 Aug 2018 21:47:28 +0000
(07:47 +1000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 13 Dec 2018 08:22:28 +0000
(09:22 +0100)
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>
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
9060189
..
a3b700a
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-759,6
+759,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)