From nobody Mon Apr 6 18:25:50 2026 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (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 A1F5E2C08A8 for ; Wed, 18 Mar 2026 16:13:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.126.157 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773850387; cv=none; b=s5oF8AZvdmB/hXhr6i9c5zaPbQyXNmuf4LWxXCvMcxT8CCCgvH/HHM5lgKXOEYQoT0i1w9D6aWoycx2EthUoFMou63ys5JoBn2Fo3AP/iCkUy6z5FZ+mfhNjT5yvyWtNeKc9YbGzSH6zEfxJHm3yqWLfwVqkGDzAkQfC5C9F4lY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773850387; c=relaxed/simple; bh=QYQrHLYj1NiGT/qonpMSIBqlKaxR6xZBr7hTviLxmeY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=aGK01jUQ5Is8uHHRmJUL/jXBG6UCm97V0lHER4I2Bu+0w8e159NTxt2DjbS52zB2PxXnqq5GnVaHiRIANrZBHTEgbaFwB6UivWnSfPp5ok3gUaD4sO1Cu+P1rAsWLrkBVnxDnrInbecY+GVLyeklrwLwdA8e3RJ+4HG+ttjTjVs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net; spf=pass smtp.mailfrom=weissschuh.net; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b=gKrANM1r; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="gKrANM1r" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1773850379; bh=QYQrHLYj1NiGT/qonpMSIBqlKaxR6xZBr7hTviLxmeY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=gKrANM1rH7nN9px+aS5kh2S3eugIo5m/ZVPl7w4oG4HjI7xFtYVMhnPRak4zrAa4z ZC7gWFFF/dO47Pa5Tctas7335dci9YSbQVMEt0pnW4Ooe9ly/ytiD1jYrQkB4qTfJ4 66MVz/zEMkukcgdkcbwhrNjM1/chc5PxgpXbhcAU= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Wed, 18 Mar 2026 17:12:43 +0100 Subject: [PATCH 2/2] selftests/nolibc: enable -Wundef 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: <20260318-nolibc-wundef-v1-2-fcb7f9ac7298@weissschuh.net> References: <20260318-nolibc-wundef-v1-0-fcb7f9ac7298@weissschuh.net> In-Reply-To: <20260318-nolibc-wundef-v1-0-fcb7f9ac7298@weissschuh.net> To: Willy Tarreau Cc: linux-kernel@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1773850378; l=1316; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=QYQrHLYj1NiGT/qonpMSIBqlKaxR6xZBr7hTviLxmeY=; b=Nz2W+iN2K/xCqppdEhbOnGWmtAQmhnzw5l4DFg3WliPqow3W8fNjl8HFO7ALwytEDy9ofISPd 6g/xhjiLEI0CdNm4uPZ0adizlRjqaZuWrTN+fhG6v/RWvV+JtaE3b51 X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= Users might use -Wundef, so also use it in the nolibc testsuite to ensure no warnings are triggered. The existing line with warning options is getting too long, so move all warnings to a dedicated line. Signed-off-by: Thomas Wei=C3=9Fschuh --- tools/testing/selftests/nolibc/Makefile.include | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/nolibc/Makefile.include b/tools/testin= g/selftests/nolibc/Makefile.include index 41a0039f774c..96fe2bc2191e 100644 --- a/tools/testing/selftests/nolibc/Makefile.include +++ b/tools/testing/selftests/nolibc/Makefile.include @@ -5,7 +5,8 @@ _CFLAGS_STACKPROTECTOR ?=3D $(call try-run, \ echo 'void foo(void) {}' | $(CC) -x c - -o - -S $(CLANG_CROSS_FLAGS) $(__= CFLAGS_STACKPROTECTOR) | grep -q __stack_chk_guard, \ $(__CFLAGS_STACKPROTECTOR)) _CFLAGS_SANITIZER ?=3D $(call cc-option,-fsanitize=3Dundefined -fsanitize-= trap=3Dall) -CFLAGS_NOLIBC_TEST ?=3D -Os -fno-ident -fno-asynchronous-unwind-tables -s= td=3Dc89 -W -Wall -Wextra \ +CFLAGS_NOLIBC_TEST ?=3D -Os -fno-ident -fno-asynchronous-unwind-tables -s= td=3Dc89 \ + -W -Wall -Wextra -Wundef \ $(call cc-option,-fno-stack-protector) $(call cc-option,-Wmissing-protot= ypes) \ $(_CFLAGS_STACKPROTECTOR) $(_CFLAGS_SANITIZER) =20 --=20 2.53.0