Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp458357lqh; Thu, 28 Mar 2024 07:08:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXqkLi1C70sIJGSbeij0B/uMQsG+PD6ZQlP9DnAVcpOTjsSXawfxHUKWjz83XGztP/7Ws+ws/O1MrmozKkLfCEwtxe7Z3pzaMaxC5yDSQ== X-Google-Smtp-Source: AGHT+IGbnlmLrjSpubmXBOMDCfvbgJL5WGPiTxfUW29pzvfZGKGEwJGdRvLmks/6SszRTu30wdwJ X-Received: by 2002:a2e:8044:0:b0:2d2:ea18:bcc7 with SMTP id p4-20020a2e8044000000b002d2ea18bcc7mr3169315ljg.23.1711634911548; Thu, 28 Mar 2024 07:08:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711634911; cv=pass; d=google.com; s=arc-20160816; b=m7avVwBBPfIW8RaCum+60PxCHRc2ukFLv4zXHiWA1TCAtwSDgcrOhPOLpKtHQzi03d VOJKzv3uALHxcUpBbZ/RXsB0TNx56lu7UPwxb8KlocBgv/j8GpfUzwM/4xvynBPmQmZz qE6ST2RDuiUxv5o0CMQI0BG9c2x3aAdLQ5wT/iv66M98xv0skQpfvEZyx8N1eO57k5IL KfCR+9rceGJLTNLkEwVIzhjMwIsGCxpSVcS4wRblj5GxCD4ICbalv0j+Zk22fEcC8Xv8 fnri4fiIznU3iKyo1YnKdKDndCHrgSxZ9iYP/kjh7g6izuXVHHc14WLfwhqhnH4Tq+L5 UKdw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=pbI9NPRg0n2X9NBnDrW6N7AmblNtXJUcMGNVDfGHRQM=; fh=Z+cDFCfHkhsBHmq4SKABJvzHEjo99GRyjyyetm1bvO8=; b=VCripfZV/FRoBfXr3IT3EBkm6YAF+h15OSrI5Y1gCVwLq75yuen9H1YY88/0D+pQWo nR/5W1VQA0j/PllfUnxNCIE4e2Ch8Mw6DrrHkM/TVSID6BfKGTfBtBTCUQEd+U1yirg3 JfdXyMymLLkYGXC6govn6m8Zbx9WHmkEu3o2w+xZ/5ieskuUpI4mF6j/RZvu0WofO+pg FmkrCDIL0FgV0CAlewsHVkK27wqpQowzVvTcgjTIvhfYdHRIw6eIdXwaLfK6lMWmeMx0 rVRROFi/k/kqw4InHfSC15j130KBM39W5eKc1J4SDA7L3hhMJRzK8Vu/Zw5KXND590Y6 H/lA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=po1GlDL4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-123027-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123027-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id v10-20020a1709063bca00b00a46a7d00b45si726402ejf.125.2024.03.28.07.08.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 07:08:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-123027-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=po1GlDL4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-123027-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123027-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 43C531F23D27 for ; Thu, 28 Mar 2024 14:08:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2305012F38E; Thu, 28 Mar 2024 14:07:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="po1GlDL4" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4D24C28366; Thu, 28 Mar 2024 14:07:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711634837; cv=none; b=sOUaQ5mIiK4lfslE2lFGb7DJznUTmmZak13W1g9YQBkNhMsMuZxlqarE4hltmmgiCdsbDHFhLCd/47sxHRx6/ZhglokGrEh15ptItcGKQ0vMjMR7t8sDcP82JkQCVsH8f9M11iXiG5MjIuh+iKBL4WPidZ5BcLmp2IIN104Bh5g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711634837; c=relaxed/simple; bh=HAK2CRZwQz9hSqo3RZk2zl/QdK5mJmPz2eF7SrmBSfU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=BPywXUya1X1ftf+XPnG3iCHZE2QzqE3X6KYWFfTkv6xtyrjc0z57sNN3s7C4dNpbrpF5aGfepIPGIXqx7BvZqp3JYUunVy5R57oMCxXO/GgfuAn9e5bmyD28knSAdNLjOTyRbEednI3g39TwyklG2sZjxDeK6kHvcCXI+AQ4+MM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=po1GlDL4; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 60A43C43399; Thu, 28 Mar 2024 14:07:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711634836; bh=HAK2CRZwQz9hSqo3RZk2zl/QdK5mJmPz2eF7SrmBSfU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=po1GlDL4BbHjc1L9zFfUcQEr8mgmdeH/RcK6z5TgS/NX1m8CA9rc2CF+P3Lyvmywx 9zHfxrISxzkmJcv81Ssn0x+Lfak+mST+xzo7kcLFC6JYIc7lJ4R0uH9+xP0kVuV7Wk gnC0KMVl5J04w34840nQ+lsnHqswfuMWlJlNU7j3AJgnLOXJ+i0siWEkg62rWTh7uH St6xby7eNX13n+EoqOKSUxJw/n6vXnAHie1A6DrXrN3yWHMmTaCzYeofwyRmt1FXAP Ee8FZxq//C3nSls9IZVsRSb4JQHYSVahcd0fKz0Xw3F/RHpoIHA0kX4GtmIdTRhGCT IC6H9IyfPGw8Q== From: Arnd Bergmann To: linux-kernel@vger.kernel.org, Masahiro Yamada Cc: Arnd Bergmann , Nathan Chancellor , Nicolas Schier , linux-kbuild@vger.kernel.org Subject: [PATCH 11/11] kbuild: enable -Wstringop-truncation globally Date: Thu, 28 Mar 2024 15:04:55 +0100 Message-Id: <20240328140512.4148825-12-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240328140512.4148825-1-arnd@kernel.org> References: <20240328140512.4148825-1-arnd@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Arnd Bergmann The remaining warnings of this type have been addressed, so it can now be enabled by default, rather than only for W=1. Signed-off-by: Arnd Bergmann --- scripts/Makefile.extrawarn | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/Makefile.extrawarn b/scripts/Makefile.extrawarn index aa1c716c4812..5a25f133d0e9 100644 --- a/scripts/Makefile.extrawarn +++ b/scripts/Makefile.extrawarn @@ -102,7 +102,6 @@ KBUILD_CFLAGS += $(call cc-disable-warning, format-overflow) ifdef CONFIG_CC_IS_GCC KBUILD_CFLAGS += $(call cc-disable-warning, format-truncation) endif -KBUILD_CFLAGS += $(call cc-disable-warning, stringop-truncation) KBUILD_CFLAGS += -Wno-override-init # alias for -Wno-initializer-overrides in clang -- 2.39.2