Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp2000979lqe; Tue, 9 Apr 2024 07:04:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU7OcX5EAIwJuWX+/o6Q6zEPqMVw+iLq0usPsL7/PoXxHgYxDWUn4KichBrowceHtB5eH1ITBdSweJD+NgyvaGqpg0eGkaGwXOUmq+zvw== X-Google-Smtp-Source: AGHT+IEvzNjap5vT7Uo3uprX7V+sbwGjF1TudiGubEirmt84ycCImgLlD1AY+ivd6Gr7JSIsLaFt X-Received: by 2002:a05:620a:2115:b0:789:f0c6:a938 with SMTP id l21-20020a05620a211500b00789f0c6a938mr4232406qkl.15.1712671455611; Tue, 09 Apr 2024 07:04:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712671455; cv=pass; d=google.com; s=arc-20160816; b=tD86wMSAU5jKdkLK5sKyP/ScxcbAza2fyzIOUNrwMHxpVmxFENJqF5gs1BYHKgzvUK 8m44nl9ekYBerUHfacme4xW9Gg6YlKOSofHfj3OGtQ5Xz6nSyiTdiJu3xS2oYurzTcP0 kgv/CDe31aVQxvK1qtQaI33xzb0UIEQt8P8cYUp181cQ4FzAMUk6C3K5f86kHt8wQzXa i1BkZpl8S7LoKulwSEGCIhuKq90gKV4fp/JAAWbPoDkjXSZcUP1sFJHTnPxty2J/bprd Rf3qIE5v43lR75VHp0VB13MrkvPQD2z0tZz5Ush3pTs4C6cX2RlIzMQot0bM+gH1uoS+ PJ7A== 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=u9fmECIRb3p9F2+rt8vjBEkyZ00N2v/R7QYpZpTA2z0=; fh=VehPt3IvrE8vXpZWN3ctklQQrgU7z6S4VQ7yLo5FDXM=; b=utpyPNf84yLJw7Jm4iUvagSmVLyfOIkJfubXC58pDY1rFVlW8zoB8rFYvjAWm4aqyb wq7PVjQoQsnt21xiwHoJIhFYWM80dKol/w8i9vVM+aPfF8FP8C4f+L2nCoTIu0KsSoLM X4jmsWBY5q/O3UL8EHJze0vX447hmyp+Z1hNJDU1FWWp7c1DRXKmBt6ed+/s83DakrhB IlJ8Q4n7j5A7OZFw2lBUcgPUBTkLM+CaiwN5lFr4R+IjEfDHNNF8oX8yR/7o9bm5CZQL jJAxJIcyCWYMNxjgKSQiMjPpE7vQOsFqvg+X+PMfnhPR020fqXRS7SR9yF68ByEM5MiT CAFQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CI+tE9nq; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-137051-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137051-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id o9-20020ae9f509000000b0078a50b8c79csi10089024qkg.431.2024.04.09.07.04.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 07:04:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137051-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CI+tE9nq; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-137051-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137051-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 584861C21CED for ; Tue, 9 Apr 2024 14:04:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 96CFB12FF76; Tue, 9 Apr 2024 14:01:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CI+tE9nq" 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 950DD12FF72; Tue, 9 Apr 2024 14:01:33 +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=1712671293; cv=none; b=qAfGlXafydH+9QFUKmeB6V/VJ2E9YJnOxjbuEqeyM6LZtgJcM7OhpDeaq+1Fpr4C67+mbefUA3KSkobN0Xx4flVl1ypGwkUTrykKismsrLCo9IFMLeGj4G7GHGHftGdx8Z1skysr2OZZ/SXJDLGhb3cLggibIYnN/TCYmPIejR4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712671293; c=relaxed/simple; bh=KBapuCoet5kfjziaVWML59WbPosua5uheV6EN7HL7cc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=m/G94JFVwccTPueFjzUZp8PSydKD5IGEKTnAC1OIDaIqqYIPW5JQXWt5EXFX/i+SI9fixpv9VMuoKMZnXnmfIyFafDfwvBjEpTR8A/j/NndDQ53fMM87KLB/h8vpsasSqEDYVpGGBlWfaqmUA5nKKKvEN0tGfSx8JDydRXvbNJQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CI+tE9nq; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A5330C43390; Tue, 9 Apr 2024 14:01:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712671293; bh=KBapuCoet5kfjziaVWML59WbPosua5uheV6EN7HL7cc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CI+tE9nqa8mKqJOIqe+CfUonGLG1fsbzMR/Wd7a5I1Vi2laBO5bxr2CoMJV9PXJmW l3B5LTh7o9wALv4UUWeYM/t6wiBxQSugqqL1qMaxru2tX3syz5zQ1dsosUQsa29l8T p7IjRvBsv+ejS31ytc4jFbGqhglSJWpDfeCARtT2DuJQwR0l7vlr6MAVUGv1hn/+RL LYOEYFvgKimhfwTM29K1/o3+OR9G+feE3zRGY+tAuvl6i500jl0QwnR+iS9P/aFQXM zLfT5yP+z3QnvGF/tWNTahJ46H894mg0QFW7RX22FGXq0UqZrFoQ1e9EbWlVu3+fcI vfZrusQ178Ykg== From: Arnd Bergmann To: linux-kbuild@vger.kernel.org Cc: Arnd Bergmann , "Richard Russon" , Jens Axboe , Robert Moore , "Rafael J. Wysocki" , Len Brown , Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers , Andrew Morton , Masahiro Yamada , Nathan Chancellor , Nicolas Schier , Lin Ming , Alexey Starikovskiy , linux-ntfs-dev@lists.sourceforge.net, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, acpica-devel@lists.linux.dev, linux-trace-kernel@vger.kernel.org Subject: [PATCH 5/5] [v2] kbuild: enable -Wstringop-truncation globally Date: Tue, 9 Apr 2024 16:00:58 +0200 Message-Id: <20240409140059.3806717-6-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240409140059.3806717-1-arnd@kernel.org> References: <20240409140059.3806717-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 --- v2: no changes --- scripts/Makefile.extrawarn | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/Makefile.extrawarn b/scripts/Makefile.extrawarn index 57edc80661fd..f4d69092698b 100644 --- a/scripts/Makefile.extrawarn +++ b/scripts/Makefile.extrawarn @@ -107,7 +107,6 @@ else KBUILD_CFLAGS += $(call cc-disable-warning, format-overflow-non-kprintf) KBUILD_CFLAGS += $(call cc-disable-warning, format-truncation-non-kprintf) endif -KBUILD_CFLAGS += $(call cc-disable-warning, stringop-truncation) KBUILD_CFLAGS += -Wno-override-init # alias for -Wno-initializer-overrides in clang -- 2.39.2