summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2026-03-31 08:31:58 -0600
committerJonathan Corbet <corbet@lwn.net>2026-03-31 08:31:58 -0600
commit83725f1d980b92789f99db0ea756979017c37ac3 (patch)
tree94851cc93c6570591ad5406fee72622e10f102b7 /scripts
parent4663a5a2a3483b5f6b049cf7e9705773ab35e6c7 (diff)
Revert "scripts/checkpatch: add Assisted-by: tag validation"
This reverts commit 8545d9bc4bd0801e0bdfbfdfdc2532ff31236ddf. Unbeknownst to me, and unremarked upon by the checkpatch maintainer, this same problem was also solved in the mm tree. Fixing it once is enough, so this one comes out. Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/checkpatch.pl12
1 files changed, 1 insertions, 11 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index b8d961d77ff4..e56374662ff7 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -641,7 +641,6 @@ our $signature_tags = qr{(?xi:
Reviewed-by:|
Reported-by:|
Suggested-by:|
- Assisted-by:|
To:|
Cc:
)};
@@ -738,7 +737,7 @@ sub find_standard_signature {
my ($sign_off) = @_;
my @standard_signature_tags = (
'Signed-off-by:', 'Co-developed-by:', 'Acked-by:', 'Tested-by:',
- 'Reviewed-by:', 'Reported-by:', 'Suggested-by:', 'Assisted-by:'
+ 'Reviewed-by:', 'Reported-by:', 'Suggested-by:'
);
foreach my $signature (@standard_signature_tags) {
return $signature if (get_edit_distance($sign_off, $signature) <= 2);
@@ -3106,15 +3105,6 @@ sub process {
}
}
-# Assisted-by: uses format AGENT_NAME:MODEL_VERSION [TOOL1] [TOOL2] instead of email
- if ($sign_off =~ /^assisted-by:$/i) {
- if ($email !~ /^[^:]+:\S+(\s+\S+)*$/) {
- WARN("BAD_ASSISTED_BY",
- "Assisted-by: should use format: 'Assisted-by: AGENT_NAME:MODEL_VERSION [TOOL1] [TOOL2]'\n" . $herecurr);
- }
- next;
- }
-
my ($email_name, $name_comment, $email_address, $comment) = parse_email($email);
my $suggested_email = format_email(($email_name, $name_comment, $email_address, $comment));
if ($suggested_email eq "") {