From nobody Tue Apr 7 18:48:30 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 157AA3290A1; Thu, 26 Feb 2026 21:24: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=1772141044; cv=none; b=YveBi8C3+UdmJpKvYB4IjaQTPIGfpNK7Ef9oyNI9vuLFIy0+V4SnQqqI2/Whw53V4mL4xtK+m9EabOu4pQ8nB52oYpyDpjgKoXYIOwxmSx0yTgu5YDsYAR3R4Uos5vHT7vTN6Yt6k7TaetTquXpuqGFSYkX/U0tEPOCATJuprP4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772141044; c=relaxed/simple; bh=vXRWyMjfvuCBEmCRCnhDQR2KjBREKZYWfj9LtgzccSw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=X4t+2uadujyiuXnsaVMCY+Rvks2Rv41gYYWtk7G7wxgdbUdqpcn7O8NJMdWlsuJOjK1mKRtnRRALrrr8XoTUCR2Hu86a4DMy+4/9lHUs5hkV0Llv/A3zecUmLTNzLAvWq6m6CyldftQtFkqv79xgX+jqPTyZfCrF6Z4gFo1CCRs= 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=SQkf26NJ; 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="SQkf26NJ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1772141040; bh=vXRWyMjfvuCBEmCRCnhDQR2KjBREKZYWfj9LtgzccSw=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=SQkf26NJ+ci5tIsvsj9LPeQSuYevPXTFJmpB6DYHEbvD06wKg7+d5HQctzvV8hNt/ 33OJkbhSj3LdMYxXzWZXJpSdSjlIWuUgH7rNVt1bX4DrD45nJibIPoK1WULxpz+1ql USCVdnu1t2agjZcXbKC3zf3BBGIcmHE5Rati5Nzc= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Thu, 26 Feb 2026 22:23:58 +0100 Subject: [PATCH 2/2] tools/build: Reject unexpected values for LLVM= 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: <20260226-kbuild-llvm-followup-v1-2-201cc2a492d9@weissschuh.net> References: <20260226-kbuild-llvm-followup-v1-0-201cc2a492d9@weissschuh.net> In-Reply-To: <20260226-kbuild-llvm-followup-v1-0-201cc2a492d9@weissschuh.net> To: Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , Nicolas Schier , Jonathan Corbet , Shuah Khan Cc: llvm@lists.linux.dev, linux-kbuild@vger.kernel.org, linux-doc@vger.kernel.org, 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=1772141039; l=961; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=vXRWyMjfvuCBEmCRCnhDQR2KjBREKZYWfj9LtgzccSw=; b=vzsG5xq8NjKAAg6geMrfKqn6oY9fqGdmAbKP/BKcdE04gtR/A3Tg6WvAVwRxV/9Nb9pPi09xI n6oBTyXzW/yAF4xNZSuapTZ3MNX8CvRGOB6E+M3pTIFVKhvDObyNYX1 X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= Since commit 502678b88cb3 ("kbuild: Reject unexpected values for LLVM=3D") the regular kbuild rejects unexpected values of LLVM=3D1 instead of silently treating them as LLVM=3D1. Align the tools build to kbuild. Signed-off-by: Thomas Wei=C3=9Fschuh Reviewed-by: Nathan Chancellor Reviewed-by: Nicolas Schier --- There is no formal maintainer for this file. IMO this change should go through kbuild. --- tools/scripts/Makefile.include | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/scripts/Makefile.include b/tools/scripts/Makefile.include index b5ecf137febc..41971a68972d 100644 --- a/tools/scripts/Makefile.include +++ b/tools/scripts/Makefile.include @@ -56,6 +56,8 @@ ifneq ($(filter %/,$(LLVM)),) LLVM_PREFIX :=3D $(LLVM) else ifneq ($(filter -%,$(LLVM)),) LLVM_SUFFIX :=3D $(LLVM) +else ifneq ($(LLVM),1) +$(error Invalid value for LLVM, see Documentation/kbuild/llvm.rst) endif =20 $(call allow-override,CC,$(LLVM_PREFIX)clang$(LLVM_SUFFIX)) --=20 2.53.0