🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel
Article #12

Re: [PATCH v1 07/10] kconfig-checker: Introduce overlays schema

#12
From: sashiko-bot
Date: Sat, 07 Nov 2026 09:50
39 lines
3509 bytes
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] kconfig-checker: overlay.yml example uses invalid expected value
  allow
--

commit a10c99db2994945ab80143ea62fe4f2801513046
Author: Ahmed S. Darwish <darwi@linutronix.de>

kconfig-checker: Introduce overlays schema

This commit introduces a JSON schema for kconfig-checker overlay files
that references base.yml without requiring expected and severity on every
rule.

> diff --git a/tools/kconfig-checker/schemas/overlay.yml b/tools/kconfig-checker/schemas/overlay.yml
> new file mode 100644
> index 0000000000000..4ac9a364a3441
> --- /dev/null
> +++ b/tools/kconfig-checker/schemas/overlay.yml
> @@ -0,0 +1,28 @@

[ ... ]

> +# and a custom-overlay.yml:
> +#
> +# rules:
> +#  - name: CONFIG_DRM
> +#    expected: allow

[Severity: Low]
Should this example use "expected: allowed" instead of "expected: allow"?
base.yml restricts expected to y, n, or allowed, so an overlay written
from this example fails schema validation.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261106091922.7560-1-darwi@linutronix.de?part=7
Technical Details
Message-ID: <NWLdD-amPt-11@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
References: <NWoK5-aaez-7@gated-at.bofh.it> <NWoK6-aaez-19@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: sashiko-bot@kernel.org
Newsgroups: linux.debian.kernel,linux.kernel
Subject: Re: [PATCH v1 07/10] kconfig-checker: Introduce overlays schema
Date: Sat, 07 Nov 2026 10:50:01 +0100
Message-ID: <NWLdD-amPt-11@gated-at.bofh.it>
References: <NWoK5-aaez-7@gated-at.bofh.it> <NWoK6-aaez-19@gated-at.bofh.it>
X-Mailbox-Line: From debian-kernel-request@lists.debian.org  Sat Nov  7 09:45:22 2026
Old-Return-Path: <sashiko-bot@kernel.org>
X-Amavis-Spam-Status: No, score=-4.401 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate: -5.5
Reply-To: sashiko-reviews@lists.linux.dev
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mailing-List: <debian-kernel@lists.debian.org> archive/latest/158102
List-ID: <debian-kernel.lists.debian.org>
List-URL: <https://lists.debian.org/debian-kernel/>
List-Archive: https://lists.debian.org/msgid-search/sashiko-outbox-202762@kernel.org
Approved: robomod@news.nic.it
Lines: 39
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: "Sebastian Andrzej Siewior" <bigeasy@linutronix.de>, "Frederic
 Weisbecker" <frederic@kernel.org>, "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>, "Jonathan
 Corbet" <corbet@lwn.net>, "John Ogness" <john.ogness@linutronix.de>, "Derek
 Barbosa" <debarbos@redhat.com>, Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>, "Daan De Meyer" <daan.j.demeyer@gmail.com>, "Luca
 Boccassi" <luca.boccassi@gmail.com>, linux-rt-devel@lists.linux.dev, debian-kernel@lists.debian.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org
X-Original-Date: Sat, 07 Nov 2026 09:20:29 +0000
X-Original-Message-ID: <sashiko-outbox-202762@kernel.org>
X-Original-References: <20261106091922.7560-1-darwi@linutronix.de>
 <20261106091922.7560-8-darwi@linutronix.de>