lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1514386305-7402-2-git-send-email-Julia.Lawall@lip6.fr>
Date:   Wed, 27 Dec 2017 15:51:34 +0100
From:   Julia Lawall <Julia.Lawall@...6.fr>
To:     linux-kernel@...r.kernel.org
Cc:     kernel-janitors@...r.kernel.org
Subject: [PATCH 01/12] dac960: drop unneeded newline

DAC960_Failure prints a newline at the end of the message string, so
the message string does not need to include a newline explicitly.
Done using Coccinelle.

In the first case, the preceding spaces were also converted to a tab.
In the second case, doing so would upset the indentation, so it was
left as is.

Signed-off-by: Julia Lawall <Julia.Lawall@...6.fr>

---
 drivers/block/DAC960.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/block/DAC960.c b/drivers/block/DAC960.c
index 442e777..89cd83a 100644
--- a/drivers/block/DAC960.c
+++ b/drivers/block/DAC960.c
@@ -1344,7 +1344,7 @@ static bool DAC960_V1_EnableMemoryMailboxInterface(DAC960_Controller_T
 	CommandMailbox.TypeX.CommandOpcode2 = 0x10;
 	break;
       default:
-        DAC960_Failure(Controller, "Unknown Controller Type\n");
+	DAC960_Failure(Controller, "Unknown Controller Type");
 	break;
       }
   return false;
@@ -1527,7 +1527,7 @@ static bool DAC960_V2_EnableMemoryMailboxInterface(DAC960_Controller_T
       DAC960_LP_AcknowledgeHardwareMailboxStatus(ControllerBaseAddress);
       break;
     default:
-      DAC960_Failure(Controller, "Unknown Controller Type\n");
+      DAC960_Failure(Controller, "Unknown Controller Type");
       CommandStatus = DAC960_V2_AbormalCompletion;
       break;
     }

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ