mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: Andrew Jones <andrew.jones@linux.dev>, linux-kernel@vger.kernel.org
Cc: apw@canonical.com, dwaipayanray1@gmail.com,
	lukas.bulwahn@gmail.com,  andriy.shevchenko@linux.intel.com,
	julianbraha@gmail.com
Subject: Re: [PATCH v4] checkpatch: warn on uppercase N/Y/M as Kconfig tristate literals
Date: Wed, 27 May 2026 07:47:51 -0700	[thread overview]
Message-ID: <de1243384c125215c26d60b954c2e745eda8822c.camel@perches.com> (raw)
In-Reply-To: <20260527142538.107022-1-andrew.jones@linux.dev>

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=216748 [1]

Unless I misread the bug report:

All this for something that happened once and
when it happened was benign?


  reply	other threads:[~2026-05-27 14:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-27 14:25 Andrew Jones
2026-05-27 14:47 ` Joe Perches [this message]
2026-05-27 17:34   ` Andrew Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=de1243384c125215c26d60b954c2e745eda8822c.camel@perches.com \
    --to=joe@perches.com \
    --cc=andrew.jones@linux.dev \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=apw@canonical.com \
    --cc=dwaipayanray1@gmail.com \
    --cc=julianbraha@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lukas.bulwahn@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®