checkpatch.pl --mailback causes an error to disappear

Konstantin Ryabitsev via Bugspray Bot <[email protected]> Mon, 21 Oct 2024 20:25:10 +0000
Newsgroups dev.linux.lists.bugs
Message-ID <[email protected]>
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(-)

diff --git a/Documentation/hwmon/oxp-sensors.rst b/Documentation/hwmon/oxp-sensors.rst
index 55b1ef61625ebc55a6df1f3fe5b8168a45e00774..50618f064379c10b0dc97499b1a768a5e183d07b 100644
--- a/Documentation/hwmon/oxp-sensors.rst
+++ b/Documentation/hwmon/oxp-sensors.rst
@@ -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.
-- 
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (bugspray 0.1-dev)