From patchwork Mon May 18 17:36:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 225604 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5DD6DC433DF for ; Mon, 18 May 2020 18:23:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3858720643 for ; Mon, 18 May 2020 18:23:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589826216; bh=bn+0jV5CaXBmRGOJ7t0CtgxsTfEHiDXFyApcbux1kbU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=A8fqZWCpD1FR3Dl1ZN1EZz+PbKTV5RLoY0t8SPjlRZiZcAitGdpMRUsB94i/NehMN 4FOr2j/N3RggJLpCkVD+XOVf2wP8ABflk+WQPmKs7EdzUMM9bqoprXKM6CsR0qUxiY 8jy3jpTIW4lZ3pYX+hDkcnzFcStQ0WuMNJ90BEfs= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732416AbgERSXW (ORCPT ); Mon, 18 May 2020 14:23:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:50710 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729400AbgERRtP (ORCPT ); Mon, 18 May 2020 13:49:15 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3FCDF20674; Mon, 18 May 2020 17:49:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589824154; bh=bn+0jV5CaXBmRGOJ7t0CtgxsTfEHiDXFyApcbux1kbU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PP2oRVE51Cw4s4GutfuerG4Mf/7lqZSf0UqMijqc2Rgjzm4tsFECKta2t6VHfuC8s iFII1VMw/z1D+KI+g92J+W0EW+hyuhYTMwqgJQkTzgMfhfAia4EGtY4acRpXK1A4UX iihJD5bzjHVqq1i209aAjK9mg74xpNOcrIxTgmi0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Linus Torvalds Subject: [PATCH 4.14 076/114] gcc-10: disable stringop-overflow warning for now Date: Mon, 18 May 2020 19:36:48 +0200 Message-Id: <20200518173516.490561046@linuxfoundation.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200518173503.033975649@linuxfoundation.org> References: <20200518173503.033975649@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Linus Torvalds commit 5a76021c2eff7fcf2f0918a08fd8a37ce7922921 upstream. This is the final array bounds warning removal for gcc-10 for now. Again, the warning is good, and we should re-enable all these warnings when we have converted all the legacy array declaration cases to flexible arrays. But in the meantime, it's just noise. Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- Makefile | 1 + 1 file changed, 1 insertion(+) --- a/Makefile +++ b/Makefile @@ -803,6 +803,7 @@ KBUILD_CFLAGS += $(call cc-disable-warni # We'll want to enable this eventually, but it's not going away for 5.7 at least KBUILD_CFLAGS += $(call cc-disable-warning, zero-length-bounds) KBUILD_CFLAGS += $(call cc-disable-warning, array-bounds) +KBUILD_CFLAGS += $(call cc-disable-warning, stringop-overflow) # Enabled with W=2, disabled by default as noisy KBUILD_CFLAGS += $(call cc-disable-warning, maybe-uninitialized)