🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel
Article #67

Re: [PATCH v2 11/11] Documentation: Describe auditconfig build target

#67
From: sashiko-bot
Date: Fri, 04 Dec 2026 23:10
47 lines
4071 bytes
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] Documentation: README.rst wrongly says auditconfig prints
  suggested changes
--

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

Documentation: Describe auditconfig build target

This commit documents the make auditconfig build target, its policy and
overlay arguments, and its diagnostic output in
Documentation/admin-guide/README.rst, and adds a cross-reference in
Documentation/tools/kconfig-audit.rst.

> diff --git a/Documentation/admin-guide/README.rst b/Documentation/admin-guide/README.rst
> index 77fec1de6dc86..6f78988d4005c 100644
> --- a/Documentation/admin-guide/README.rst
> +++ b/Documentation/admin-guide/README.rst
> @@ -256,6 +256,35 @@ Configuring the kernel

[ ... ]

> +``auditconfig`` reports kconfig options whose values do not match the
> +selected rules profile. Each diagnostic includes a severity, such as
> +``FATAL`` or ``INFO``, plus the suggested configuration change.
> +
> +Apply the reported changes as needed and run ``make auditconfig`` again,
> +against the same rules, until no relevant diagnostics remain.

[Severity: Low]
Does auditconfig actually print a suggested configuration change?

In tools/kconfig-audit/audit.py, Report.print() and
Checker._find_symbol_rule_issues() only report the severity, the observed
mismatch (such as "is disabled" or "has the wrong type, expected boolean"),
and an optional rationale or documentation link.

For wrong-type symbols, the output does not even state whether the rule
expects the symbol to be enabled or disabled, so users do not get a
suggested change to apply.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261203224916.118064-1-darwi@linutronix.de?part=11
Technical Details
Message-ID: <O6KzE-g1p2-35@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O6o65-fPfD-3@gated-at.bofh.it> <O6o65-fPfD-13@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: sashiko-bot@kernel.org
Newsgroups: linux.debian.kernel,linux.kernel
Subject: Re: [PATCH v2 11/11] Documentation: Describe auditconfig build  target
Date: Sat, 05 Dec 2026 00:10:02 +0100
Message-ID: <O6KzE-g1p2-35@gated-at.bofh.it>
References: <O6o65-fPfD-3@gated-at.bofh.it> <O6o65-fPfD-13@gated-at.bofh.it>
X-Mailbox-Line: From debian-kernel-request@lists.debian.org  Fri Dec  4 23:07:37 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:hard: -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/158757
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-250782@kernel.org
Approved: robomod@news.nic.it
Lines: 47
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>, "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: Fri, 04 Dec 2026 22:50:20 +0000
X-Original-Message-ID: <sashiko-outbox-250782@kernel.org>
X-Original-References: <20261203224916.118064-1-darwi@linutronix.de>
 <20261203224916.118064-12-darwi@linutronix.de>