lkml.org 
[lkml]   [2010]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: checkpatch problem
    From
    Date
    On Thu, 2010-09-23 at 19:15 +0100, David Howells wrote:
    > The problem is that the second matcher (looking for " to \\n) matches on more
    > than just the logfunction line. Instrumenting the code supplied by your patch
    > thusly:
    []
    > I suspect checkpatch doesn't handle #defines correctly, and goes beyond their
    > end looking for a semicolon.

    Hi David.

    Exactly right. Andy has a version in his testing directory
    that fixes this #define run-on block and speeds up checkpatch
    runtime rather a lot for certain files like .h files that have
    nothing but #defines.

    Try applying my patch to this newer version:

    http://www.kernel.org/pub/linux/kernel/people/apw/checkpatch/checkpatch.pl-testing



    \
     
     \ /
      Last update: 2010-09-27 20:09    [W:2.833 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site