Skip to contentSkip to conversation

checkpatch: stop complaining about tags suggested/tested by syzkaller

PATCH RESEND New Andrew Kanner 1 participant 1 message Oct 6, 2023 Checkpatch

lore
Share & tools
lore
#0 lore raw

PATCH RESEND v2 1/1 checkpatch: stop complaining about tags suggested/tested by syzkaller

If you submit a testing request to syzkaller it may reply with:

Quoted 4 lines

syzbot has tested the proposed patch and the reproducer did not \
trigger any issue:

Reported-and-tested-by [email protected]

Checkpatch is ok with Reported-by tags, but complains about Reported-and-tested-by tags:

Quoted 4 lines

WARNING: Possible unwrapped commit description (prefer a maximum 75 \
chars per line)
#48:

Reported-and-tested-by [email protected]

Adding the new tag to signature_tags removes this warning.

---
PS: It's expected that checkpatch.pl will complain about this patch for checkpatch.pl, although I tried to remove some warnings - see below.

v2:
- suppress 4 warnings from checkpatch.pl, adding '>' to commit-msg
- ./scripts/checkpatch.pl is still complaining about this patch (mostly about the keywords in diff):
total: 6 errors, 14 warnings
although it's not complaining too much about commit-msg (only about Reported-and-tested-by tag)
v1: https://lore.kernel.org/all/[email protected]/

 scripts/checkpatch.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
scripts/checkpatch.pl +2 -1
index 7d16f863edf1..a9dbc9c6e26c 100755
@@ -617,6 +617,7 @@ our $signature_tags = qr{(?xi:
 	Tested-by:|
 	Reviewed-by:|
 	Reported-by:|
+	Reported-and-tested-by:|
 	Suggested-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:', 'Reported-and-tested-by:', 'Suggested-by:'
 	);
 	foreach my $signature (@standard_signature_tags) {
 		return $signature if (get_edit_distance($sign_off, $signature) <= 2);
Signature · 6 lines
2.39.3

_______________________________________________
Linux-kernel-mentees mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees