From mboxrd@z Thu Jan 1 00:00:00 1970 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 4702D449ED9; Thu, 26 Feb 2026 21:43:54 +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=1772142234; cv=none; b=iYlMPb7GecZyQuU3GbhUs8gOWoo3jDZI3PFtvPlpU+b+xsGHxb8HpJKPBq7XglndkkSZjzOVd7bjzw2HpF+JdPSRM6Wmc/BqlAvjrppq1F8uZET+TGgU9pCEeyO5L4Uxrr4lYs5BffsAOskKTzpAPaV84i1jmKM8vXXVxR0Q1Wg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772142234; c=relaxed/simple; bh=LitKvXBZw+P7z9/MwzFlKfzPSc2GUxRTmbeSvR5WuCs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=SbjtCXp0fVUT4t9WBPOLTj7wNI40gSBesL7RabsidlYl3OVDotJwxvlJcB9L51tnZzKUXgljN/dcZ/YEKlk7gtg+EoLPlhHRPioV6N/7v8ykkOek1OhKdxpG3NyF9BY5gaPt7dnGWureBplEQHz7en9tRUgLiGakHedTLPTREms= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CRvF8ofc; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CRvF8ofc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B40B0C116C6; Thu, 26 Feb 2026 21:43:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772142233; bh=LitKvXBZw+P7z9/MwzFlKfzPSc2GUxRTmbeSvR5WuCs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CRvF8ofc7fVcnFxGwr7B/2odbd7dopGQhvb+YpLtaRsd9l91tNIsIlclKbmJH4GHL k07UQJXGW5ltmlEbbcmG/OvsXmslHfwhYoHXPKtjfZNnFJjEddj5gXtdchBxVIj3qW X84x7fEFR811OiQkBNaSmWK/MSYJ15L1Tm+YDt+IWO/rRsmSJfoWJfKEbawHri6P5C ZUblnDLOFDN1A57AX1E2NmZESrJdKeXJnkHMTefQBzqbVKNrRjzfcJJB/q/fcXCAme t2+Lp6jm2JWFY0nhuoznbDzFVc/NcdCoPY0Fcu380VjmR42sEh3t+XboDrMXaLt3vy 4QUsfIE1HQ26A== Date: Thu, 26 Feb 2026 14:43:49 -0700 From: Nathan Chancellor To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: Nick Desaulniers , Bill Wendling , Justin Stitt , Nicolas Schier , Jonathan Corbet , Shuah Khan , llvm@lists.linux.dev, linux-kbuild@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] Documentation/llvm: drop note about LLVM=0 Message-ID: <20260226214349.GA1534917@ax162> References: <20260226-kbuild-llvm-followup-v1-0-201cc2a492d9@weissschuh.net> <20260226-kbuild-llvm-followup-v1-1-201cc2a492d9@weissschuh.net> Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20260226-kbuild-llvm-followup-v1-1-201cc2a492d9@weissschuh.net> On Thu, Feb 26, 2026 at 10:23:57PM +0100, Thomas Weißschuh wrote: > Since commit 502678b88cb3 ("kbuild: Reject unexpected values for LLVM=") > LLVM=0 generates an error instead of silently behaving unexpectedly. > > Drop the now unnecessary note. > > Signed-off-by: Thomas Weißschuh It might be worth keeping the note about LLVM=0 not being the same as omitting LLVM altogether, as neither the documentation nor the error message will say why that is not a valid value. Maybe: ``LLVM=0`` is not the same as omitting ``LLVM`` altogether. If you only wish to use certain LLVM utilities, use their respective make variables. I don't feel that strongly about it though. Regardless: Reviewed-by: Nathan Chancellor > --- > Documentation/kbuild/llvm.rst | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/Documentation/kbuild/llvm.rst b/Documentation/kbuild/llvm.rst > index bc8a283bc44b..441d8786fcbc 100644 > --- a/Documentation/kbuild/llvm.rst > +++ b/Documentation/kbuild/llvm.rst > @@ -71,10 +71,6 @@ recommend:: > > PATH=/path/to/llvm/:$PATH make LLVM=-14 > > -``LLVM=0`` is not the same as omitting ``LLVM`` altogether, it will behave like > -``LLVM=1``. If you only wish to use certain LLVM utilities, use their > -respective make variables. > - > The same value used for ``LLVM=`` should be set for each invocation of ``make`` > if configuring and building via distinct commands. ``LLVM=`` should also be set > as an environment variable when running scripts that will eventually run > > -- > 2.53.0 >