From mboxrd@z Thu Jan 1 00:00:00 1970 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=-10.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 28608C433E0 for ; Thu, 14 May 2020 19:05:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 003B82065F for ; Thu, 14 May 2020 19:05:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589483142; bh=zkvJbF8iUOw5yGt6rrXjsoXF7Iak2+GLCW44OYA8mEs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=rFwODljLrXlTQ6x7QyzjwOLb2wFjZaTU+uJwpzecZOE2cWZTl05jclmHuvBZILYy7 mzAJmD4IG9aLBd2TrsZVNTQcDM1eVcZ63QatGkN3LP+ilfHYhTun51pU44INihdAa5 ue1cIfM14DGIhXe2fBEja7yuWb4pbgwTszZ9JTf4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730039AbgENTFk (ORCPT ); Thu, 14 May 2020 15:05:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:53896 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728940AbgENSyG (ORCPT ); Thu, 14 May 2020 14:54:06 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EFCC020727; Thu, 14 May 2020 18:54:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589482445; bh=zkvJbF8iUOw5yGt6rrXjsoXF7Iak2+GLCW44OYA8mEs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uOlB/JNLyZxEoX3JYZEaqoPAN9qRQb4clKjJOs6ALg3WA2KnEsjW6Etc18cG33zda wIp3cvo+A4A82PD0g1L38BhQTvS0UhXlWwWsJzlScdjvOI9Cc1ZBfPSwQMacPDox5Z RNKlXlHAqm8po449+8aUWAZzNUlTdJwKaBZmPUlc= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Linus Torvalds , Sasha Levin , linux-kbuild@vger.kernel.org Subject: [PATCH AUTOSEL 5.4 44/49] gcc-10: disable 'stringop-overflow' warning for now Date: Thu, 14 May 2020 14:53:05 -0400 Message-Id: <20200514185311.20294-44-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200514185311.20294-1-sashal@kernel.org> References: <20200514185311.20294-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Linus Torvalds [ Upstream commit 5a76021c2eff7fcf2f0918a08fd8a37ce7922921 ] 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: Sasha Levin --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 8c8ad7e25e15e..b557cf8ce3ebc 100644 --- a/Makefile +++ b/Makefile @@ -860,6 +860,7 @@ KBUILD_CFLAGS += $(call cc-disable-warning, stringop-truncation) # 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) -- 2.20.1