Re: */ in string confuses checkpatch.pl

From: Tetsuo Handa
Date: Wed Oct 22 2008 - 07:21:44 EST


Hello.

Andy Whitcroft wrote:
> Ok, I can see whats happened here. Most of these \'s are extraneous.
> Without those I can reproduce this. Its a bug in the 'comment is open
> at the start of hunk' detection. I think I have updated this heuristic
> to cope wit this. Could you try your original patch (I assume there was
> one) with the version below:
>
> http://www.kernel.org/pub/linux/kernel/people/apw/checkpatch/checkpatch.pl-testing
>
> Thanks for your report.
>
> -apw
>
It solved this problem.

By the way, I'm using checkpatch.pl for checking userland application.
It would be convenient if there is a option that omits some checks like
'# check for external initialisers.' and '# check for static initialisers.'

Thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/