From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1B84C399011 for ; Fri, 21 Aug 2026 10:13:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787307226; cv=none; b=UubvArs2xfsZaYsE3JQP6cxbyfqxcR/H3vhS3H3eQVcrolHF/A0j9rfpeBXemtxQUi7JjoDB3ZyTXDmratAGMPAli509/4uNlkpjTrV4LJZmVY/VT7P3EzloyhmgRt0DtJoSc3KQcWka/lzanU1xevLc5IUZSWsePjbu2UNNHQg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787307226; c=relaxed/simple; bh=HAt/tstPr2lyT1owotY+a4lAPD6sAu915lBITnPahHw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=seIOaUD5SobdwnMR4XvOxhL0Mcawk+O4Pghb8r6/TKGEhvkOk1s3UBPd9iI1eUQXucBfeqpnajfM4itW1nSzQla5UAlPMrYlOq02eU+mE2w6il4BjovGG8hjHqlDmwg4C/upTo0LtYqU8j1/h6DIO3jctcl4budagaG9DEnM8g8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=pYXvT4iZ; arc=none smtp.client-ip=209.85.128.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="pYXvT4iZ" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-498028b3d5eso9041245e9.1 for ; Fri, 21 Aug 2026 03:13:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787307199; x=1787911999; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:sender:from:to:cc:subject:date:message-id:reply-to :content-type; bh=HAt/tstPr2lyT1owotY+a4lAPD6sAu915lBITnPahHw=; b=pYXvT4iZQyYY+cTK/e8gBrfFyxBsA5l9NvuSdck/OXklQhQeJg6brfH9aB7zrqIcUL 9hksMSGhXmEojRNSEyaD1jT9ZR81E/H+lld0UuzAHLyp9vtevU+hyLCpXSwloYXWqOqp 9K1BScXnY4qtYNJjkx7qvLFx/TvgA675ILCkwItllGetHCabVeCpJ1zPF5Jy7NbhqPwz rY2O4cAcbR3H3nmjEv25yjjbk0+siIOmmnBFNqS1vUpjeBjXyGVKv7v8a/vMyDASCUJ8 9MN4ymGB26oasiab3F+ITjMLvEeH/L9QiCWZKPnKba9jPFZyRsse6RO2a93RaZIJ9zBo Cmhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787307199; x=1787911999; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:sender:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=HAt/tstPr2lyT1owotY+a4lAPD6sAu915lBITnPahHw=; b=qkvsWYseqWrWLSvjMcchNPnHYuwbre5fLw8TA3kaNXWOKWbDXucnq2EWAvpSxGPOgh RB88JdbYcoiXiUGy6SaAf6rPdn09dbmUuboay2ucSvVEX+FY2NXuXJDtMl/FobbvaABY vve/jrPGrdBBlxop8X02kZalVAAhR5yywgtNlh0n8PGCm1geDqtOKk4gxWk4QY7kbxr4 BGV8PzeHF2Yt2bAPd8nGkzQ9sx0IgjQESq1a4UlXkIzOqbT7OJLiX+658PxiPUGO00o6 7KJqu4fEOpMPiHG92ertlggJfA9ruCeOWW9ldeYqUzmGrlFU9csc9gWyomrKF5iv+9k9 wthg== X-Forwarded-Encrypted: i=1; AHgh+Rprx6+nJWnDOilJPQDT9O1GIJZb6Ovx8hb41ntqSpOBLUfLEo1Gl06JZFC95K7xvfsVFfdm6L3kGawm8dA=@vger.kernel.org X-Gm-Message-State: AOJu0YxcIceKwtvKvbO4pIV0wj2HM1h7s9nRRoN8LnoPfd4PGIxSImcp eYKRlB/ZNVjUl2gNRZwuVfUaljwGV0KtzZ9i3ui00HQFTWrbsRAtXA5G X-Gm-Gg: AR+sD114+8hIbZrB519wfGhIaxRQoQ1rAxk0knOFxnNteb9R3WT8l1MVl+6hpKdVUrz /3a0W2mNMnGWVLU+Ten3YgcBBibe05+cxKdIzVl7SkcBrTf/uV7ZMJ56VvRkkE3qjt9AVAtaqw1 L/fpKXZ8Zgp21GxxbM7gNb25g911zOcX/OxsA5Syd9RWuYSbMCGPTmzCIf6MM4PS0mAXQXXQGrb 60gZS53DiMf5EAmmu/aGNcz96ypIeqKoWraM5sudKhmd09nyl7DQ+00UVWur9phJQVyxpwEy0N8 Ue+7esde29aZrK/w7NQzWSrJVtti3HbXvesbB46zkVSveiFppSFToM55fZmvCNFgUv5i9RMoMpo EyJA4RUinnUKbH5dl27gckGztmHurmm9AMgqCfIrnY4jl10ZorY53x7r3LF6aX71rw9jO7xdij+ Z6+7yDhCr44AWSXgYtFnf5c1hUswo8bGpIczeusBo1uWbUL+cnt7eqEop7vyLV6EZiTIVtrijpL LBNkEXftqLV882Zb6W9njS5TF2fsxnybfhEkl0DWtK1P9LcXwdl7vNuNTkR+RZDS9O1/j4= X-Received: by 2002:a05:600c:4743:b0:493:c47f:3c55 with SMTP id 5b1f17b1804b1-499b8302dcemr62735545e9.5.1787307199179; Fri, 21 Aug 2026 03:13:19 -0700 (PDT) Received: from ?IPV6:2001:8a0:e962:d100:80f4:7ba6:5507:35ef? ([2001:8a0:e962:d100:80f4:7ba6:5507:35ef]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-499b9b57ab4sm13645125e9.2.2026.08.21.03.13.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 Aug 2026 03:13:18 -0700 (PDT) Sender: Julian Braha Message-ID: Date: Fri, 21 Aug 2026 11:13:16 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] arch/Kconfig: fix dead conditions by removing dead options To: Arnd Bergmann Cc: Thomas Gleixner , Rong Xu , Kees Cook , Peter Zijlstra , =?UTF-8?Q?Thomas_Wei=C3=9Fschuh?= , Ruan Jinjie , gourry@gourry.net, Lukas Bulwahn , Ryan Roberts , Jani Nikula , linux-kernel@vger.kernel.org References: <20260729210546.394392-1-julianbraha@gmail.com> <880b651b-a032-48f8-96ef-03a37b3ad50c@app.fastmail.com> Content-Language: en-US From: Julian Braha In-Reply-To: <880b651b-a032-48f8-96ef-03a37b3ad50c@app.fastmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 7/31/26 11:41, Arnd Bergmann wrote: > On Wed, Jul 29, 2026, at 23:05, Julian Braha wrote: >> These two 'int' options: >> >> ARCH_MMAP_RND_BITS_DEFAULT >> ARCH_MMAP_RND_COMPAT_BITS_DEFAULT >> >> are used directly as conditions for defaults. 'int' options should not be >> used as conditions, because they will always evaluate to false. >> >> Let's remove these options, because they are not used anywhere else. >> >> This dead code was found by kconfirm, a static analysis tool for Kconfig. >> >> Signed-off-by: Julian Braha > Reviewed-by: Arnd Bergmann Sorry to bother, but whose tree would this patch go into? I'd like to add some type checking into Kconfig, but I need to wait until this patch is merged before making this a hard error. - Julian Braha