lkml.org 
[lkml]   [2008]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Subject*/ in string confuses checkpatch.pl
    From
    Date
    Hello.

    The below code confuses checkpatch.pl ver 0.21.

    Regards.
    ----------
    # cat /tmp/foo.c
    void foo(void)
    {
    bar(\" /proc/\\\\*/\");
    bar(\" /proc/\\\\$/\");
    }
    # /usr/src/vanilla/linux-2.6.27.2/scripts/checkpatch.pl --file /tmp/foo.c
    ERROR: need consistent spacing around \'/\' (ctx:WxV)
    #4: FILE: tmp/foo.c:4:
    + bar(\" /proc/\\\\$/\");
    ^

    total: 1 errors, 0 warnings, 5 lines checked

    /tmp/foo.c has style problems, please review. If any of these errors
    are false positives report them to the maintainer, see
    CHECKPATCH in MAINTAINERS.


    \
     
     \ /
      Last update: 2008-10-21 03:01    [W:0.041 / U:210.516 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site