Skip to contentSkip to conversation

checkpatch: Recognise "Debugged-by" tags

PATCH NAK Michael Ellerman 2 participants 2 messages Oct 24, 2023 Checkpatch

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 checkpatch: Recognise "Debugged-by" tags

Currently checkpatch complains about "Debugged-by:" tags:

WARNING: Non-standard signature: Debugged-by:
#33:

There are over 150 Debugged-by tags already in the history, so checkpatch should allow them.

Additionally checkpatch will now catch small typos, eg:

WARNING: Non-standard signature: 'Debuged-by:' - perhaps 'Debugged-by:'? #17:

---
 scripts/checkpatch.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
scripts/checkpatch.pl +2 -1
index 7d16f863edf1..31774351bae1 100755
@@ -618,6 +618,7 @@ our $signature_tags = qr{(?xi:
 	Reviewed-by:|
 	Reported-by:|
 	Suggested-by:|
+	Debugged-by:|
 	To:|
 	Cc:
 )};
@@ -711,7 +712,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:'
+		'Reviewed-by:', 'Reported-by:', 'Suggested-by:', 'Debugged-by:'
 	);
 	foreach my $signature (@standard_signature_tags) {
 		return $signature if (get_edit_distance($sign_off, $signature) <= 2);
Signature · 1 line
2.41.0
maintainer NAK
#1 lore raw
Quoted 8 lines · Michael Ellerman

Currently checkpatch complains about "Debugged-by:" tags:

WARNING: Non-standard signature: Debugged-by:
#33:

There are over 150 Debugged-by tags already in the history, so checkpatch should allow them.

nack.

Please do not use checkpatch to change process.
Update the process docs then update checkpatch.