From: Jakob Unterwurzacher <jakob.unterwurzacher@cherry.de>
To: Andy Whitcroft <apw@canonical.com>, Joe Perches <joe@perches.com>
Cc: linux-kernel@vger.kernel.org, Quentin Schulz <quentin.schulz@cherry.de>
Subject: "checkpatch.pl --mailback" broken?
Date: Fri, 30 Oct 2026 11:20:59 +0100 [thread overview]
Message-ID: <a37b228f-0d12-4c26-b29b-51ad59bc6d1a@cherry.de> (raw)
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/
reply other threads:[~2026-10-30 10:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a37b228f-0d12-4c26-b29b-51ad59bc6d1a@cherry.de \
--to=jakob.unterwurzacher@cherry.de \
--cc=apw@canonical.com \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=quentin.schulz@cherry.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®