]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.4-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Dec 2018 20:56:03 +0000 (21:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Dec 2018 20:56:03 +0000 (21:56 +0100)
added patches:
disable-stringop-truncation-warnings-for-now.patch

queue-4.4/disable-stringop-truncation-warnings-for-now.patch [new file with mode: 0644]
queue-4.4/series

diff --git a/queue-4.4/disable-stringop-truncation-warnings-for-now.patch b/queue-4.4/disable-stringop-truncation-warnings-for-now.patch
new file mode 100644 (file)
index 0000000..a0d0715
--- /dev/null
@@ -0,0 +1,31 @@
+From 217c3e0196758662aa0429863b09d1c13da1c5d6 Mon Sep 17 00:00:00 2001
+From: Stephen Rothwell <sfr@canb.auug.org.au>
+Date: Fri, 31 Aug 2018 07:47:28 +1000
+Subject: disable stringop truncation warnings for now
+
+From: Stephen Rothwell <sfr@canb.auug.org.au>
+
+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 |    3 +++
+ 1 file changed, 3 insertions(+)
+
+--- a/Makefile
++++ b/Makefile
+@@ -793,6 +793,9 @@ KBUILD_CFLAGS += $(call cc-option,-Wdecl
+ # 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)
index ab6eb5121662a5f0bc8aa3d7f3af667ea3e32710..e6491e501eab6c8a935ad980cdba410c503ebaa2 100644 (file)
@@ -20,3 +20,4 @@ usb-core-quirks-add-reset_resume-quirk-for-cherry-g230-stream-series.patch
 misc-mic-scif-fix-copy-paste-error-in-scif_create_remote_lookup.patch
 kbuild-suppress-packed-not-aligned-warning-for-default-setting-only.patch
 exec-avoid-gcc-8-warning-for-get_task_comm.patch
+disable-stringop-truncation-warnings-for-now.patch