From: Sasha Levin <sashal@kernel.org>
To: "Lorenzo Stoakes (ARM)" <ljs@kernel.org>
Cc: "David Hildenbrand (Arm)" <david@kernel.org>,
Willy Tarreau <w@1wt.eu>, Borislav Petkov <bp@alien8.de>,
Krzysztof Kozlowski <krzk@kernel.org>,
Jonathan Corbet <corbet@lwn.net>,
Linus Torvalds <torvalds@linux-foundation.org>,
Leon Romanovsky <leon@kernel.org>,
Mark Brown <broonie@kernel.org>,
Geert Uytterhoeven <geert@linux-m68k.org>,
Marc Zyngier <maz@kernel.org>, Eric Dumazet <edumazet@google.com>,
Hans de Goede <hansg@kernel.org>, Andrew Lunn <andrew@lunn.ch>,
Jonathan Cameron <jic23@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Shuah Khan <skhan@linuxfoundation.org>,
Randy Dunlap <rdunlap@infradead.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Theodore Ts'o <tytso@mit.edu>,
Security Officers <security@kernel.org>,
workflows@vger.kernel.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Subject: Re: [PATCH 1/2] docs: coding-assistants: ask for short changelogs and a cover letter
Date: Fri, 27 Nov 2026 10:39:02 -0500 [thread overview]
Message-ID: <20261127153902.1320179-1-sashal@kernel.org> (raw)
In-Reply-To: <awmU4L01OH9kWEVv@gremlin>
On Fri, Nov 27, 2026 at 02:51:35PM +0000, Lorenzo Stoakes (ARM) wrote:
>On Fri, Nov 27, 2026 at 09:31:24AM -0500, Sasha Levin wrote:
>> I see this as the beginning of a guardrail. It'll take us some time to get to
>> something like checkpatch for LLMs, but we have to start somewhere.
>
>I'm honestly not sure checkpatch, which is false positive-central and gets
>confused very easily is the gold standard to aim for ;)
Yes, checkpatch has bloated a bunch in recent years, but at its core it's been
great at helping people write good commit messages.
>You're putting in a bunch of specifics about what the LLM SHOULD add and
>what we WANT to see etc.
>
>I.e. more text :)
>
>I think you should keep it VERY simple and make it REALLY clear that you
>want it to produce LESS text, as little as possible, in as clear terms as
>possible. And do NOT write code-as-English etc.
>
>Make it a denylist of stuff, not an ever-growing list of things to add,
>because if you do that you're just making my life harder, honestly.
The series calls for *less* text in the commit message. The extra text goes
into the cover letter, which humans can ignore if they don't want it.
>Where was this floated? I didn't hear anything about it? Was it another
>decision made by a cabal behind closed doors? :)
Hallway track during LPC mostly :) There's no "decision" here. Folks were
raising both concerns: "the changelogs are too long, they suck for humans" and
"the changelogs are too short, we don't get enough information / the AI fakes
stuff".
>Anyway, let me rephrase I guess - please don't ask LLMs to add more slopped
>text for me to deal with?
>
>I really dislike the idea of a cover letter for a single patch in general,
>but from an LLM you literally just made my life twice as bad.
>
>Please, don't?
I suspect we won't find something here that works for everyone, so subsystems
could tune it in their maintainer handbook docs if they need to.
One question though: what stops you from ignoring the cover letter altogether
and looking only at the commit message? We can have AI explicitly tag a
"slopped" cover letter if it'll make it easier...
--
Thanks,
Sasha
next prev parent reply other threads:[~2026-11-27 15:39 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 17:19 [PATCH 0/2] docs: ask AI-assisted patches for short changelogs and a cover letter Sasha Levin
2026-11-26 17:19 ` [PATCH 1/2] docs: coding-assistants: ask " Sasha Levin
2026-11-27 1:34 ` Krzysztof Kozlowski
2026-11-27 1:49 ` Borislav Petkov
2026-11-27 2:19 ` Sasha Levin
2026-11-27 5:23 ` Willy Tarreau
2026-11-27 9:18 ` Lorenzo Stoakes (ARM)
2026-11-27 9:29 ` Willy Tarreau
2026-11-27 9:38 ` Lorenzo Stoakes (ARM)
2026-11-27 14:11 ` Mark Brown
2026-11-27 14:25 ` Lorenzo Stoakes (ARM)
2026-11-27 14:31 ` Sasha Levin
2026-11-27 9:44 ` David Hildenbrand (Arm)
2026-11-27 9:54 ` Lorenzo Stoakes (ARM)
2026-11-27 13:37 ` Sasha Levin
2026-11-27 13:52 ` David Hildenbrand (Arm)
2026-11-27 14:20 ` Lorenzo Stoakes (ARM)
2026-11-27 14:31 ` Sasha Levin
2026-11-27 14:51 ` Lorenzo Stoakes (ARM)
2026-11-27 15:39 ` Sasha Levin [this message]
2026-11-27 16:27 ` Andrew Lunn
2026-11-27 16:46 ` Lorenzo Stoakes (ARM)
2026-11-27 16:59 ` Sasha Levin
2026-11-26 17:19 ` [PATCH 2/2] docs: security-bugs: ask AI-assisted fixes for their " Sasha Levin
2026-11-27 5:29 ` Willy Tarreau
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=20261127153902.1320179-1-sashal@kernel.org \
--to=sashal@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=andrew@lunn.ch \
--cc=bp@alien8.de \
--cc=broonie@kernel.org \
--cc=corbet@lwn.net \
--cc=david@kernel.org \
--cc=edumazet@google.com \
--cc=geert@linux-m68k.org \
--cc=gregkh@linuxfoundation.org \
--cc=hansg@kernel.org \
--cc=jic23@kernel.org \
--cc=krzk@kernel.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=leon@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ljs@kernel.org \
--cc=maz@kernel.org \
--cc=rdunlap@infradead.org \
--cc=security@kernel.org \
--cc=skhan@linuxfoundation.org \
--cc=torvalds@linux-foundation.org \
--cc=tytso@mit.edu \
--cc=w@1wt.eu \
--cc=workflows@vger.kernel.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