From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) (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 79C53271A9A for ; Wed, 27 May 2026 14:47:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=216.40.44.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779893277; cv=none; b=kgwYINzsHc0gC6tmO9YfRJIaLasOR+JNSeEbeMY+M8R1pGcjBsKm9gXQbCzAfwhrVX9yAn0i6eAC6uRahashrZC5nLLtySp5/WSVzgRslefL6xu3PuovbrU3+dJDxKLMqeOwn5SE+L1QSAHdHVUjTB8emwPI2zizd3dNjFyfTcE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779893277; c=relaxed/simple; bh=fYZhv7bY3vkSXVJ0uUCEBwaXd027XMKbac+PxhAZVVI=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=gTVXhs6rrMBeodkhZSz2cipfnP/d2aId467fqKofUdCrUhMYuEjysJrkXaeXT/IGO8tChmQkGZOXGkxLi+kmtZyqRd92ZLVg97GUPEgpzV9wyhRezH3sbosncyX5t8nrwZ+I7Kidjvs4JP5GIGnrvCCOmpWfW//GHDSFnSfCYoE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=perches.com; spf=pass smtp.mailfrom=perches.com; arc=none smtp.client-ip=216.40.44.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=perches.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=perches.com Received: from omf08.hostedemail.com (lb01a-stub [10.200.18.249]) by unirelay02.hostedemail.com (Postfix) with ESMTP id EB0D51205EA; Wed, 27 May 2026 14:47:54 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf08.hostedemail.com (Postfix) with ESMTPA id C9CAC2002A; Wed, 27 May 2026 14:47:52 +0000 (UTC) Message-ID: Subject: Re: [PATCH v4] checkpatch: warn on uppercase N/Y/M as Kconfig tristate literals From: Joe Perches To: Andrew Jones , linux-kernel@vger.kernel.org Cc: apw@canonical.com, dwaipayanray1@gmail.com, lukas.bulwahn@gmail.com, andriy.shevchenko@linux.intel.com, julianbraha@gmail.com Date: Wed, 27 May 2026 07:47:51 -0700 In-Reply-To: <20260527142538.107022-1-andrew.jones@linux.dev> References: <20260527142538.107022-1-andrew.jones@linux.dev> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.58.3 (3.58.3-1.fc43) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Rspamd-Server: rspamout05 X-Rspamd-Queue-Id: C9CAC2002A X-Stat-Signature: wjrregs553kw9xikw4j9b498pmny37ir X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX19u4FtNmS2ZNxedhWHaXZJX7ZMfWbeRDbo= X-HE-Tag: 1779893272-38974 X-HE-Meta: U2FsdGVkX19BKXjt81w1KMXqc4ztM6dlwnBd+41N9Evo2REzvCzeRC0DdJko5Ce5LyuQScGfIeeOI4djqZiT8/s278CTz2fL7KNhKlSJiFbleND8vlPdNJDYFUmVfrFvec28WTKWBmMABOs8Pg+GXZpRMHtOCb9tZGeKZkSCctwNnVTt5sFpI67WYyFd/cTG1KP8kBPt/nWX+Gp2z8dMdHDQcTvTTva9e6q+cSgOhuE5dzTZ88kWsjjW50aFPmJAuPHOT/uNcLmtRGcKI2NiXwrWI0kKC/aJ3NLSsUEDIXPYXlxPNNnb55npnKmmaxaYp/u5JIlWoXRcAv6wH/q+5Ce/G+g1iKwa On Wed, 2026-05-27 at 09:25 -0500, Andrew Jones wrote: > Kconfig tristate literals are always lowercase ('n', 'y', 'm') and > uppercase N/Y/M are not Kconfig reserved words. Since undefined > symbols evaluate to 'n', writing 'default Y' or 'default M' silently > produces 'n' instead of 'y'/'m'. 'default N' happens to produce the > right value but is still invalid syntax. [] > Link: https://bugzilla.kernel.org/show_bug.cgi?id=3D216748 [1] Unless I misread the bug report: All this for something that happened once and when it happened was benign?