checkpatch.pl --mailback causes an error to disappear
Subsystems (2)
Konstantin Ryabitsev writes via Kernel.org Bugzilla:
Given the following patch:
------
From: Test Case <[email protected]>
Date: Fri, 26 Jul 2024 09:16:34 +0800
Subject: [PATCH] hwmon: document: fix typo in oxp-sensors
RMP -> RPM
--- Documentation/hwmon/oxp-sensors.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/hwmon/oxp-sensors.rst +1 -1
@@ -52,7 +52,7 @@ Sysfs entries The following attributes are supported: fan1_input - Read Only. Reads current fan RMP. + Read Only. Reads current fan RPM. pwm1_enable Read Write. Enable manual fan control. Write "1" to set to manual, write "0"
------
If I run checkpatch without --mailback, I correctly get an error report about the missing Signed-off-by:
$ cat /tmp/test.patch | ./scripts/checkpatch.pl --terse --no-summary --strict --showfile
Documentation/hwmon/oxp-sensors.rst:59: ERROR: Missing Signed-off-by: line(s)However, if I add --mailback, the error disappears and the script exits with 0, though the output should remain exactly the same.
View: https://bugzilla.kernel.org/show_bug.cgi?id=219413#c0
You can reply to this message to join the discussion.
Signature · 2 lines
Deet-doot-dot, I am a bot. Kernel.org Bugzilla (bugspray 0.1-dev)