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>] [day] [month] [year] [list]
Date:	Wed,  3 Aug 2016 19:33:57 -0400
From:	"Olivier C. Larocque" <olivier.c.larocque@...il.com>
To:	hpa@...or.com
Cc:	linux-kernel@...r.kernel.org,
	"Olivier C. Larocque" <olivier.c.larocque@...il.com>
Subject: [PATCH] scripts: change cleanfile/cleanpatch long lines width to 80 chars

Make cleanfile and cleanpatch scripts warn about lines that
exceed 80 caracters instead of 79. This makes the warnings
consistent with the coding standard and the checkpatch script.

Signed-off-by: Olivier C. Larocque <olivier.c.larocque@...il.com>
---
 scripts/cleanfile  | 2 +-
 scripts/cleanpatch | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/cleanfile b/scripts/cleanfile
index cefd29e..e99fe0b 100755
--- a/scripts/cleanfile
+++ b/scripts/cleanfile
@@ -8,7 +8,7 @@ use bytes;
 use File::Basename;
 
 # Default options
-$max_width = 79;
+$max_width = 80;
 
 # Clean up space-tab sequences, either by removing spaces or
 # replacing them with tabs.
diff --git a/scripts/cleanpatch b/scripts/cleanpatch
index 9680d03..778cf47 100755
--- a/scripts/cleanpatch
+++ b/scripts/cleanpatch
@@ -8,7 +8,7 @@ use bytes;
 use File::Basename;
 
 # Default options
-$max_width = 79;
+$max_width = 80;
 
 # Clean up space-tab sequences, either by removing spaces or
 # replacing them with tabs.
-- 
2.7.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ