mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] scripts: change cleanfile/cleanpatch long lines width to 80 chars
@ 2016-08-03 23:33 Olivier C. Larocque
  0 siblings, 0 replies; only message in thread
From: Olivier C. Larocque @ 2016-08-03 23:33 UTC (permalink / raw)
  To: hpa; +Cc: linux-kernel, Olivier C. Larocque

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@gmail.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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-04  0:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-03 23:33 [PATCH] scripts: change cleanfile/cleanpatch long lines width to 80 chars Olivier C. Larocque

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®