From nobody Sat Oct 4 17:29:39 2025 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 AD7AA30C90D; Thu, 14 Aug 2025 10:15:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755166503; cv=none; b=DuTsFQ3DynANgxNrvPTph7KQamn/gLjLx3iGsK/W170FklZlygQ/NXepoTQjwKaUlZxibwi/JiHBGvzNXFgRyXj8zhtBS07kDuui5E9S8GdRe0I3CkYwCI44eIEZ8aWDh+VSUDohtYCGP8YocS588/r5VQFBenCu4xm012Vu4MI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755166503; c=relaxed/simple; bh=p3sbqLdX8LT8DFirSBwzRa/TCL6qe+PJUwAWYSbA0ho=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lstcf9xwCu4C4RjWgNvNM1U42ZBlEjWiLbV/fKNK1Su1xiaNaHCoPnc6WpC43R+99oul0ryVSvkekhl2uumiofCEzHeyBY3MTGw/g9x0SyLamA/RQ1ftdaEvURlgZ0h25QSBD5vU+JDjmvZzMeY19+1c6Tu/KOrOlx/6h3W0u8w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=nJqykU0N; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=bMlnfvLf; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="nJqykU0N"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="bMlnfvLf" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1755166498; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lCEDx2mv0kXmPcReBsWibYDiujq1S+i3BlZP/SBf9yY=; b=nJqykU0NKwKtaw4aAiigeiBiooDTM8r4OSQWW7+UDlQQgCB+qrieEzrObdtWcnAxOWOnzm 1dmltkLvY464qqmotnkKYsFX/epn9nJtzbTcxQssf3dmqF1lSX5/ASOO3/fuPSF7Vg5x4A pEVFryUK0FUagAzzCju4Pyj24RQ+Iq0132cxvxSplfTkPB8T2mOy3bY2eVkHUUFfdn61AQ sBYLmeWjtCKkTWIYQFUthKxWvVOJyaamFCPquQ8iZRYu6dT+9Vs3aFHcEawSRKYn7OWDp3 I3E4Rt5eff/tCCSn+fkLLjiQWU97aySVIQ9xcfpsxmVVW7MYiHmE/wN1Z1JF0g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1755166498; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lCEDx2mv0kXmPcReBsWibYDiujq1S+i3BlZP/SBf9yY=; b=bMlnfvLf2knfO7lJepTPtsLqCX5ToeN4qMVZu3D2mIwCpf3dMB9XJCsGS8IyvM9+ZJcd56 RPfH3uMK6OHzuzCQ== Date: Thu, 14 Aug 2025 12:14:45 +0200 Subject: [PATCH v2 5/6] kbuild: respect CONFIG_WERROR for userprogs Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250814-kbuild-werror-v2-5-c01e596309d2@linutronix.de> References: <20250814-kbuild-werror-v2-0-c01e596309d2@linutronix.de> In-Reply-To: <20250814-kbuild-werror-v2-0-c01e596309d2@linutronix.de> To: Nathan Chancellor , Nicolas Schier , Miguel Ojeda , Alex Gaynor , Boqun Feng , Gary Guo , =?utf-8?q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , Danilo Krummrich Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1755166493; l=854; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=p3sbqLdX8LT8DFirSBwzRa/TCL6qe+PJUwAWYSbA0ho=; b=FvGHxXjdXHnR/eOlc7JFvvKM0LrvW1vPyxl7GCynxlDgnbKS8FgoCNPb+xgJMurTBwW7qdydg aDST0WpYj7sDEK/NWvX5RzMEHmkvNY3qxxNDMkefoxPF5OpZMzQ6OCu X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= The userprogs compiler and linker do not share the regular compiler flags. Make sure they also fail on warnings with CONFIG_WERROR and W=3De. Signed-off-by: Thomas Wei=C3=9Fschuh --- scripts/Makefile.extrawarn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/Makefile.extrawarn b/scripts/Makefile.extrawarn index 6efb9e5eeeed0696a061a17e029a92caba50826f..96ff3f5582d651f0016c8ccd49d= 46022cc6fe070 100644 --- a/scripts/Makefile.extrawarn +++ b/scripts/Makefile.extrawarn @@ -219,6 +219,8 @@ ifneq ($(findstring e, $(KBUILD_EXTRA_WARN))$(CONFIG_WE= RROR),) KBUILD_CPPFLAGS +=3D -Werror KBUILD_AFLAGS +=3D -Wa,--fatal-warnings KBUILD_LDFLAGS +=3D --fatal-warnings +KBUILD_USERCFLAGS +=3D -Werror +KBUILD_USERLDFLAGS +=3D -Wl,--fatal-warnings KBUILD_RUSTFLAGS +=3D -Dwarnings =20 endif --=20 2.50.1