✗ CI.checkpatch: warning for checkpatch: teach checkpatch about the Assisted-by: tag for AI-assisted patches

Patchwork
2026-03-02T20:01:11Z

State : warning

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
1f57ba1afceae32108bd24770069f764d940a0e4
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 8b7df9864f125be1128fda77843dcd2cb42dd5d5
Author: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Date: Mon Mar 2 15:36:59 2026 +0100

checkpatch: teach checkpatch about the Assisted-by: tag for AI-assisted patches

Documentation/process/coding-assistants.rst mandates the use of an
uses an "Agent:Model" notation rather than a name-and-email-address
pair, for example:

Assisted-by: GitHub Copilot:claude-sonnet-4.6

checkpatch.pl currently emits false-positive errors and warnings for
this tag:

WARNING: Non-standard signature: Assisted-by:
ERROR: Unrecognized email address: 'GitHub Copilot:claude-sonnet-4.6'

Teach checkpatch about the tag:

- Add Assisted-by: to the $signature_tags regex so it is no longer
flagged as a non-standard signature.
- Add Assisted-by: to the standard_signature_tags list in
find_standard_signature() so that near-miss typos (e.g.
'Assited-by:') suggest the correct spelling.
- Skip the email-address validation for Assisted-by: tags and instead
validate that the value contains at least one colon separating the
agent name from the model identifier. Emit a BAD_SIGN_OFF warning
if the notation does not conform.

Cc: Andy Whitcroft <apw@canonical.com>
Cc: Joe Perches <joe@perches.com>
Cc: Dwaipayan Ray <dwaipayanray1@gmail.com>
Cc: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Cc: linux-kernel@vger.kernel.org
Assisted-by: GitHub Copilot:claude-sonnet-4.6
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
+ /mt/dim checkpatch 8527899064372c5c8f4d8db80024412ff3c02128 drm-intel
8b7df9864f12 checkpatch: teach checkpatch about the Assisted-by: tag for AI-assisted patches
-:4: WARNING:EMAIL_SUBJECT: A patch subject line should describe the change not the tool that found it
#4:
Subject: [PATCH] checkpatch: teach checkpatch about the Assisted-by: tag for

-:14: WARNING:BAD_SIGN_OFF: Do not use whitespace before Assisted-by:
#14:
Assisted-by: GitHub Copilot:claude-sonnet-4.6

-:39: WARNING:BAD_SIGN_OFF: Duplicate signature
#39:
Assisted-by: GitHub Copilot:claude-sonnet-4.6

-:47: WARNING:BAD_SIGN_OFF: Do not use whitespace before Reviewed-by:
#47: FILE: scripts/checkpatch.pl:641:
Reviewed-by:|

-:47: WARNING:BAD_SIGN_OFF: Use a single space after Reviewed-by:
#47: FILE: scripts/checkpatch.pl:641:
Reviewed-by:|

-:47: ERROR:BAD_SIGN_OFF: Unrecognized email address: '|'
#47: FILE: scripts/checkpatch.pl:641:
Reviewed-by:|

-:48: WARNING:BAD_SIGN_OFF: Do not use whitespace before Reported-by:
#48: FILE: scripts/checkpatch.pl:642:
Reported-by:|

-:48: WARNING:BAD_SIGN_OFF: Use a single space after Reported-by:
#48: FILE: scripts/checkpatch.pl:642:
Reported-by:|

-:48: ERROR:BAD_SIGN_OFF: Unrecognized email address: '|'
#48: FILE: scripts/checkpatch.pl:642:
Reported-by:|

-:48: WARNING:BAD_REPORTED_BY_LINK: Reported-by: should be immediately followed by Closes: with a URL to the report
#48: FILE: scripts/checkpatch.pl:642:
Reported-by:|
Suggested-by:|

-:49: WARNING:BAD_SIGN_OFF: Do not use whitespace before Suggested-by:
#49: FILE: scripts/checkpatch.pl:643:
Suggested-by:|

-:49: WARNING:BAD_SIGN_OFF: Use a single space after Suggested-by:
#49: FILE: scripts/checkpatch.pl:643:
Suggested-by:|

-:49: ERROR:BAD_SIGN_OFF: Unrecognized email address: '|'
#49: FILE: scripts/checkpatch.pl:643:
Suggested-by:|

-:51: WARNING:BAD_SIGN_OFF: Do not use whitespace before To:
#51: FILE: scripts/checkpatch.pl:645:
To:|

-:51: WARNING:BAD_SIGN_OFF: Use a single space after To:
#51: FILE: scripts/checkpatch.pl:645:
To:|

-:51: ERROR:BAD_SIGN_OFF: Unrecognized email address: '|'
#51: FILE: scripts/checkpatch.pl:645:
To:|

-:52: WARNING:BAD_SIGN_OFF: Do not use whitespace before Cc:
#52: FILE: scripts/checkpatch.pl:646:
Cc:

-:52: WARNING:BAD_SIGN_OFF: Use a single space after Cc:
#52: FILE: scripts/checkpatch.pl:646:
Cc:

-:52: ERROR:BAD_SIGN_OFF: Unrecognized email address: ''
#52: FILE: scripts/checkpatch.pl:646:
Cc:

total: 5 errors, 14 warnings, 0 checks, 31 lines checked