mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] checkpatch: Recognise "Debugged-by" tags
@ 2023-10-24 11:17 Michael Ellerman
  2023-10-24 14:14 ` Joe Perches
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Ellerman @ 2023-10-24 11:17 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, apw, joe, dwaipayanray1, lukas.bulwahn

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

  WARNING: Non-standard signature: Debugged-by:
  #33:
  Debugged-by: Jane Doe <jane@doe.com>

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:
    Debuged-by: Jane Doe <jane@doe.com>

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
---
 scripts/checkpatch.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 7d16f863edf1..31774351bae1 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -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);
-- 
2.41.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-24 14:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-24 11:17 [PATCH] checkpatch: Recognise "Debugged-by" tags Michael Ellerman
2023-10-24 14:14 ` Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®