Linux kbuild/kconfig development
 help / color / mirror / Atom feed
From: Julian Braha <julianbraha@gmail.com>
To: Andrew Jones <andrew.jones@linux.dev>,
	linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: nathan@kernel.org, nsc@kernel.org,
	andriy.shevchenko@linux.intel.com, rdunlap@infradead.org
Subject: Re: [PATCH v2] kconfig: add kconfig-sym-check static checker
Date: Wed, 20 May 2026 00:59:06 +0100	[thread overview]
Message-ID: <e0ee7e31-0f0d-4dfa-acc4-c1822aa031da@gmail.com> (raw)
In-Reply-To: <20260519215804.84025-1-andrew.jones@linux.dev>

On 5/19/26 22:58, Andrew Jones wrote:
> The checker also warns about uppercase N/Y/M used as tristate literal
> values following the same logic as checkpatch.

Hm, I tested this out by manually adding a:
```
config KCONFIG_SYM_TEST
  default Y
```

to the end of the root Kconfig file, but the script didn't actually
catch it. The hint about casing only appeared with the 'N'.

Could this be a bug, or is the Y symbol actually defined somewhere...?

- Julian Braha

  reply	other threads:[~2026-05-19 23:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-19 21:58 [PATCH v2] kconfig: add kconfig-sym-check static checker Andrew Jones
2026-05-19 23:59 ` Julian Braha [this message]
2026-05-20  0:39   ` Randy Dunlap
2026-05-20 13:19     ` 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=e0ee7e31-0f0d-4dfa-acc4-c1822aa031da@gmail.com \
    --to=julianbraha@gmail.com \
    --cc=andrew.jones@linux.dev \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nathan@kernel.org \
    --cc=nsc@kernel.org \
    --cc=rdunlap@infradead.org \
    /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