From: Konstantin Khorenko <khorenko@virtuozzo.com>
To: devel@openvz.org, Konstantin Khorenko <khorenko@virtuozzo.com>
Subject: [Devel] [PATCH hci-8.1 2/2] ms/checkpatch.pl: adapt to new Assisted-by: format
Date: Fri, 16 Oct 2026 23:33:33 +0200 [thread overview]
Message-ID: <20261016-checkpatch-v1-2-3aceda8d9600@virtuozzo.com> (raw)
In-Reply-To: <20261016-checkpatch-v1-0-3aceda8d9600@virtuozzo.com>
From: Jeff Layton <jlayton@kernel.org>
There is a new format for the 'Assisted-by:' tag. Change checkpatch.pl
to just check that it has a value rather than testing for a specific
format.
Assisted-by: LLM
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260804-checkpatch-v1-1-27f29c79a46f@kernel.org>
(cherry picked from commit 2a8d68338ee77e200895f2697c56fd00094767f7)
Feature: fix ms/scripts
Assisted-by: LLM
Signed-off-by: Konstantin Khorenko <khorenko@virtuozzo.com>
---
scripts/checkpatch.pl | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index c30ff25f70182..d731293db83c1 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -3073,11 +3073,12 @@ sub process {
}
}
- # Assisted-by uses AGENT_NAME:MODEL_VERSION format, not email
+ # Assisted-by uses a free-form value (e.g. "LLM"), not an
+ # email address, so skip the email format checks below.
if ($sign_off =~ /^Assisted-by:/i) {
- if ($email !~ /^\S+:\S+/) {
+ if ($email =~ /^\s*$/) {
WARN("BAD_SIGN_OFF",
- "Assisted-by expects 'AGENT_NAME:MODEL_VERSION [TOOL1] [TOOL2]' format\n" . $herecurr);
+ "Assisted-by requires a value\n" . $herecurr);
}
next;
}
--
2.43.0
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
next prev parent reply other threads:[~2026-10-16 21:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-16 21:33 [Devel] [PATCH hci-8.1 0/2] ms/checkpatch: accept the Assisted-by: LLM tag Konstantin Khorenko
2026-10-16 21:33 ` [Devel] [PATCH hci-8.1 1/2] ms/checkpatch: add support for Assisted-by tag Konstantin Khorenko
2026-10-16 21:37 ` no-reply
2026-10-16 21:33 ` Konstantin Khorenko [this message]
2026-10-16 21:36 ` [Devel] [PATCH hci-8.1 2/2] ms/checkpatch.pl: adapt to new Assisted-by: format no-reply
2026-10-16 21:54 ` [Devel] [PATCH hci-8.1 0/2] ms/checkpatch: accept the Assisted-by: LLM tag Konstantin Khorenko
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=20261016-checkpatch-v1-2-3aceda8d9600@virtuozzo.com \
--to=khorenko@virtuozzo.com \
--cc=devel@openvz.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