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 45F4138B7CF; Fri, 27 Feb 2026 08:30:22 +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=1772181022; cv=none; b=cQIDgJrsCsnJl/peNJb+pwV57mOCgF+GNCpDi6K+W1ayinr5SGoheZ0WfBWdijqU19dHM2vAjAD7Qzt8Jc9SphJ8XjgGNudwCiOi/AEX0tjgDLFH5ZX2WZH9qZQHnztW9MkbK9UMZmM/qwwTHrgr4rxsViu9faoogH12MEpU1vw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772181022; c=relaxed/simple; bh=BdVEkr+wxlmfU9CJukl8zobsrn5y/zOn66YZl9EAAec=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YeOXAy8evVjz5ghCULPp9ercYsGCLJJ6BcVWSH6zwl/H9ixg2sNJB+p9bo2KhR3TSXJ95n6t6Wi+aktakVxGZhoumlELVLZEaIafELZF+570BkHlDHTPtVXRBA863Ov07nbxE94Wz+z5yK8elZWh3B0AtUKityp0Hknow1gIKkQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=iCnD7jLb; 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="iCnD7jLb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 76700C116C6; Fri, 27 Feb 2026 08:30:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772181021; bh=BdVEkr+wxlmfU9CJukl8zobsrn5y/zOn66YZl9EAAec=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iCnD7jLbcxoqVuzqTSA8dekB6Hca6UHVZ5d/7YNl68HpUQ0V74IpfiuJJ7S6iIU9B KWg1JvVIrft31athOgWKtgf+7bBNKlI53b0yVqdvVDaAfArd3ITYBF6rNME6qqVmhJ P5q/LbIgN+6FXmGfM2+ofEgholGhY1GIY6G9g4uGDOFPO5tyB2cSAO9n/tXjQkNSbu qrCSvJ8z+QTU8rBsz9Yl8Kio/jMGajQ2qaidZaFVEPaSPmpKT2J+WCElJ3U1ll+AFZ HPRgeE6Dws6Y13KW/k4fmx4simZnIebuGN9ApeG700WKuCjDO+FtvkaPQ5mwWX7/jT SECLpVJTze8YA== From: Nicolas Schier To: Nathan Chancellor , Nicolas Schier Cc: linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, Linus Torvalds Subject: Re: [PATCH] kconfig: Error out on duplicated kconfig inclusion Date: Fri, 27 Feb 2026 09:30:14 +0100 Message-ID: <177218091819.983702.5846102504393394089.b4-ty@kernel.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260220-kconfig-error-out-on-duplicated-inclusion-v1-1-be78aa241a53@kernel.org> References: <20260220-kconfig-error-out-on-duplicated-inclusion-v1-1-be78aa241a53@kernel.org> 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: 8bit On Fri, 20 Feb 2026 19:55:19 +0100, Nicolas Schier wrote: > Let kconfig exit with error on duplicated Kconfig file inclusion. > > Repeated inclusion of Kbuild files are considered bad-practise with > regard to maintenance; and Kconfig language is rich enough that there > should be no need for that. > > If repeated inclusion of Kconfig files is detected, error out with > messages like: > > [...] Nathan, thanks for spotting the upper case letters. I fixed it locally. Applied, thanks! [1/1] kconfig: Error out on duplicated kconfig inclusion https://git.kernel.org/kbuild/c/102d712d Best regards, -- Nicolas