lkml.org 
[lkml]   [2016]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] scripts: change cleanfile/cleanpatch long lines width to 80 chars
    Date
    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
    \
     
     \ /
      Last update: 2016-08-04 03:01    [W:3.206 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site