mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* "checkpatch.pl --mailback" broken?
@ 2026-10-30 10:20 Jakob Unterwurzacher
  0 siblings, 0 replies; only message in thread
From: Jakob Unterwurzacher @ 2026-10-30 10:20 UTC (permalink / raw)
  To: Andy Whitcroft, Joe Perches; +Cc: linux-kernel, Quentin Schulz

Hi there,

looks like I recently hit [1] an interesting corner-case in 
checkpatch.pl . When passing "--mailback", it seems to exit early with 
success, despite having errors in the patches. In my case, it was 
missing Signed-off-by.

Here's what happened:

$ b4 --version
0.16.0
$ b4 prep --check
Checking patches using:
  
/home/junterwurzacher/tiger/linux-tiger-v7.4-pre-tiger-suspend/scripts/checkpatch.pl 
-q --terse --no-summary --mailback --showfile
---
● efd1aef7f361: Input: rk805-pwrkey - enable the wakeup interrupt during 
system suspend
[...]
---
Success: 4, Warning: 0, Error: 0

Calling checkpatch.pl manually with the same command line:

$ ./scripts/checkpatch.pl -q --terse --no-summary --mailback --showfile 
0001-arm64-dts-rockchip-put-the-PMIC-into-sleep-mode-in-s.patch
(no output, exit code 0)

Dropping "--mailback" gives the expected ERROR.

$ ./scripts/checkpatch.pl -q --terse --no-summary --showfile 
0001-arm64-dts-rockchip-put-the-PMIC-into-sleep-mode-in-s.patch
arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi:501: ERROR: Missing 
Signed-off-by: line(s)

I have not analyzed it further yet.

Thanks,
Jakob


[1] 
https://lore.kernel.org/all/a220ebd0-a28d-44cc-9a80-62382018348c@cherry.de/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-30 10:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-30 10:20 "checkpatch.pl --mailback" broken? Jakob Unterwurzacher

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®