Skip to contentSkip to conversation

scripts: change cleanfile/cleanpatch long lines width to 80 chars

PATCH New Olivier C. Larocque 1 participant 1 message Aug 4, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 scripts/cleanfile  | 2 +-
 scripts/cleanpatch | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
scripts/cleanfile +1 -1
index cefd29e..e99fe0b 100755
@@ -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.
scripts/cleanpatch +1 -1
index 9680d03..778cf47 100755
@@ -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.
Signature · 1 line
2.7.4