* Re: [PATCH] batman-adv: reject unrepresentable multicast TVLV offsets (+ b4 check signed-off-problems)
[not found] <20260731135222.566367-1-david.lee@trailofbits.com>
@ 2026-08-01 9:54 ` Sven Eckelmann
0 siblings, 0 replies; only message in thread
From: Sven Eckelmann @ 2026-08-01 9:54 UTC (permalink / raw)
To: David Lee, Kyle Zeng
Cc: Dominik 'Disconnect3d' Czarnota, b.a.t.m.a.n,
linux-kernel, Konstantin Ryabitsev, Kernel.org Tools,
Andy Whitcroft, Joe Perches
[-- Attachment #1: Type: text/plain, Size: 2542 bytes --]
On Friday, 31 July 2026 15:52:22 CEST David Lee wrote:
> Signed-off-by: Kyle Zeng <kylebot@openai.com>
Another thing just realized (and for whatever reason it was not shown by b4):
Who is Kyle Zeng <kylebot@openai.com> here (what does kylebot have to do
with the patch)? David Lee <david.lee@trailofbits.com> is here marked as the
author but didn't even Signed-off-by the patch. See
https://docs.kernel.org/process/submitting-patches.html#sign-your-work-the-developer-s-certificate-of-origin
(see the end of mail of pending things for this patch)
@Konstanin (Joe/Andy): Is it to be expected that
`b4 review track 20260731135222.566367-1-david.lee@trailofbits.com` ->
`b4 review tui` -> "review" -> "checks" patch doesn't show the Signed-off-by
error in the checkpatch check view? When doing it manually, it works as
expected:
$ b4 am 20260731135222.566367-1-david.lee@trailofbits.com
[..]
$ ./scripts/checkpatch.pl -q --terse --no-summary ./20260731_david_lee_batman_adv_reject_unrepresentable_multicast_tvlv_offsets.mbx
./20260731_david_lee_batman_adv_reject_unrepresentable_multicast_tvlv_offsets.mbx:52: ERROR: Missing Signed-off-by: line by nominal patch author 'David Lee <david.lee@trailofbits.com>'
$ b4 --version
0.15.2
The difference comes from the "--mailback" option which b4 adds also to
checkpatch. I have therefore also Cc'ed Joe Perches and Andy Whitcroft because
of this suppressed error. The following change would produce the output but I
have no glue and just fiddled around with the script without understanding the
bigger concept (of checkpatch and why b4 uses --mailback):
diff --git i/scripts/checkpatch.pl w/scripts/checkpatch.pl
index 7a846a3ea1273..ccb2ec78193e0 100755
--- i/scripts/checkpatch.pl
+++ w/scripts/checkpatch.pl
@@ -7846,12 +7846,6 @@ sub process {
exit(0);
}
- # In mailback mode only produce a report in the negative, for
- # things that appear to be patches.
- if ($mailback && ($clean == 1 || !$is_patch)) {
- exit(0);
- }
-
# This is not a patch, and we are in 'no-patch' mode so
# just keep quiet.
if (!$chk_patch && !$is_patch) {
@@ -7902,6 +7896,12 @@ sub process {
}
}
+ # In mailback mode only produce a report in the negative, for
+ # things that appear to be patches.
+ if ($mailback && ($clean == 1 || !$is_patch)) {
+ exit(0);
+ }
+
print report_dump();
if ($summary && !($clean == 1 && $quiet == 1)) {
print "$filename " if ($summary_file);
(this is just to show the cause - not meant as anything which should be applied)
Regards,
Sven
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply related [flat|nested] only message in thread