<p dir="ltr"><br>
在 2013-7-24 PM5:19,"MORITA Kazutaka" <<a href="mailto:morita.kazutaka@lab.ntt.co.jp">morita.kazutaka@lab.ntt.co.jp</a>>写道:<br>
><br>
> At Wed, 24 Jul 2013 12:53:55 +0800,<br>
> Liu Yuan wrote:<br>
> ><br>
> > +* blabla.<br>
> > +* blabla.<br>
> > +*/<br>
> ><br>
> > Above in the patch file is valid block comments<br>
> ><br>
> > Signed-off-by: Liu Yuan <<a href="mailto:namei.unix@gmail.com">namei.unix@gmail.com</a>><br>
> > ---<br>
> >  script/<a href="http://checkpatch.pl">checkpatch.pl</a> |    2 +-<br>
> >  1 file changed, 1 insertion(+), 1 deletion(-)<br>
> ><br>
> > diff --git a/script/<a href="http://checkpatch.pl">checkpatch.pl</a> b/script/<a href="http://checkpatch.pl">checkpatch.pl</a><br>
> > index ccdc58a..42f5d7d 100755<br>
> > --- a/script/<a href="http://checkpatch.pl">checkpatch.pl</a><br>
> > +++ b/script/<a href="http://checkpatch.pl">checkpatch.pl</a><br>
> > @@ -1736,7 +1736,7 @@ sub process {<br>
> >                               # case E<br>
> >                               my $ln = $linenr;<br>
> >                               while ($rawlines[$ln] !~ /^\+\s*\/\*/ && $ln >= 0) { $ln--; }<br>
> > -                             if ($rawlines[$ln] !~ /^\+\s*\/\*$/) {<br>
> > +                             if ($rawlines[$ln] =~ /^\+\s*\/\*/ && !~ /^\+\s*\/\*$/) {<br>
><br>
> What is this trying to check?  This cauese a parse error on my<br>
> environment (perl v5.10.1).</p>
<p dir="ltr">see commit log, it will report falsely for the metioned example. the patch is wrong I will send v2</p>
<p dir="ltr">> Thanks,<br>
><br>
> Kazutaka<br>
</p>