From: Greg Kroah-Hartman Date: Wed, 5 Dec 2018 20:55:33 +0000 (+0100) Subject: 3.18-stable patches X-Git-Tag: v4.19.8~40 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9b03870c273ee2a3021b1bdfebc458fbe1c74f33;p=thirdparty%2Fkernel%2Fstable-queue.git 3.18-stable patches added patches: disable-stringop-truncation-warnings-for-now.patch --- diff --git a/queue-3.18/disable-stringop-truncation-warnings-for-now.patch b/queue-3.18/disable-stringop-truncation-warnings-for-now.patch new file mode 100644 index 00000000000..f4e190b3b66 --- /dev/null +++ b/queue-3.18/disable-stringop-truncation-warnings-for-now.patch @@ -0,0 +1,31 @@ +From 217c3e0196758662aa0429863b09d1c13da1c5d6 Mon Sep 17 00:00:00 2001 +From: Stephen Rothwell +Date: Fri, 31 Aug 2018 07:47:28 +1000 +Subject: disable stringop truncation warnings for now + +From: Stephen Rothwell + +commit 217c3e0196758662aa0429863b09d1c13da1c5d6 upstream. + +They are too noisy + +Signed-off-by: Stephen Rothwell +Signed-off-by: Linus Torvalds +Signed-off-by: Greg Kroah-Hartman + +--- + Makefile | 3 +++ + 1 file changed, 3 insertions(+) + +--- a/Makefile ++++ b/Makefile +@@ -759,6 +759,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) + diff --git a/queue-3.18/series b/queue-3.18/series index 36b102d2ddb..ac29c981ae9 100644 --- a/queue-3.18/series +++ b/queue-3.18/series @@ -11,3 +11,4 @@ dmaengine-at_hdmac-fix-module-unloading.patch usb-usb-storage-add-new-ids-to-ums-realtek.patch usb-core-quirks-add-reset_resume-quirk-for-cherry-g230-stream-series.patch kbuild-suppress-packed-not-aligned-warning-for-default-setting-only.patch +disable-stringop-truncation-warnings-for-now.patch