Skip to contentSkip to conversation

checkpatch.pl --mailback causes an error to disappear

PATCH Konstantin Ryabitsev via Bugspray Bot 1 participant 1 message Oct 21, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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
index 55b1ef61625ebc55a6df1f3fe5b8168a45e00774..50618f064379c10b0dc97499b1a768a5e183d07b 100644
@@ -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)