* [PATCH] checkpatch: stop complaining about tags suggested/tested by syzkaller
@ 2023-08-29 12:34 Andrew Kanner
2023-09-20 14:29 ` Andrew Kanner
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Kanner @ 2023-08-29 12:34 UTC (permalink / raw)
To: apw, joe, dwaipayanray1, lukas.bulwahn; +Cc: linux-kernel-mentees, linux-kernel
If you submit a testing request to syzkaller it may reply with:
syzbot has tested the proposed patch and the reproducer did not \
trigger any issue:
Reported-and-tested-by: syzbot+f817490f5bd20541b90a@syzkaller.appspotmail.com
Checkpatch is ok with Reported-by tags, but complains about
Reported-and-tested-by tags:
WARNING: Possible unwrapped commit description (prefer a maximum 75 \
chars per line)
#48:
Reported-and-tested-by: syzbot+f817490f5bd20541b90a@syzkaller.appspotmail.com
Adding the new tag to signature_tags removes this warning.
Signed-off-by: Andrew Kanner <andrew.kanner@gmail.com>
---
scripts/checkpatch.pl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index a9841148cde2..f85dcfb098e0 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -615,6 +615,7 @@ our $signature_tags = qr{(?xi:
Tested-by:|
Reviewed-by:|
Reported-by:|
+ Reported-and-tested-by:|
Suggested-by:|
To:|
Cc:
@@ -709,7 +710,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);
--
2.39.3
_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] checkpatch: stop complaining about tags suggested/tested by syzkaller
2023-08-29 12:34 [PATCH] checkpatch: stop complaining about tags suggested/tested by syzkaller Andrew Kanner
@ 2023-09-20 14:29 ` Andrew Kanner
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Kanner @ 2023-09-20 14:29 UTC (permalink / raw)
To: apw, joe, dwaipayanray1, lukas.bulwahn; +Cc: linux-kernel-mentees, linux-kernel
On Tue, Aug 29, 2023 at 02:34:47PM +0200, Andrew Kanner wrote:
> If you submit a testing request to syzkaller it may reply with:
>
> syzbot has tested the proposed patch and the reproducer did not \
> trigger any issue:
>
> Reported-and-tested-by: syzbot+f817490f5bd20541b90a@syzkaller.appspotmail.com
>
> Checkpatch is ok with Reported-by tags, but complains about
> Reported-and-tested-by tags:
>
> WARNING: Possible unwrapped commit description (prefer a maximum 75 \
> chars per line)
> #48:
> Reported-and-tested-by: syzbot+f817490f5bd20541b90a@syzkaller.appspotmail.com
>
> Adding the new tag to signature_tags removes this warning.
>
> Signed-off-by: Andrew Kanner <andrew.kanner@gmail.com>
> ---
> scripts/checkpatch.pl | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
> index a9841148cde2..f85dcfb098e0 100755
> --- a/scripts/checkpatch.pl
> +++ b/scripts/checkpatch.pl
> @@ -615,6 +615,7 @@ our $signature_tags = qr{(?xi:
> Tested-by:|
> Reviewed-by:|
> Reported-by:|
> + Reported-and-tested-by:|
> Suggested-by:|
> To:|
> Cc:
> @@ -709,7 +710,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);
> --
> 2.39.3
>
Kindly reminder.
Please let me know if there're any objections.
--
Andrew Kanner
_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-20 14:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-29 12:34 [PATCH] checkpatch: stop complaining about tags suggested/tested by syzkaller Andrew Kanner
2023-09-20 14:29 ` Andrew Kanner
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.