Messages in this thread Patch in this message | | | From | "Olivier C. Larocque" <> | Subject | [PATCH] scripts: change cleanfile/cleanpatch long lines width to 80 chars | Date | Wed, 3 Aug 2016 19:33:57 -0400 |
| |
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
| |