Re: checkpatch.pl: never finishes w/ specific file

From: Andy Whitcroft
Date: Mon Mar 21 2011 - 19:47:21 EST


On Mon, Mar 21, 2011 at 11:42:10AM +0100, Toralf Förster wrote:
>
> Andy Whitcroft wrote at 12:47:52
> > Could you try your file with the one below and let me know:
> >
> >
> > http://www.kernel.org/pub/linux/kernel/people/apw/checkpatch/checkpatch.pl
>
> I've a question about line 1365 :
> if ($realfile =~ m@^include/asm\/@) {
>
> IMO either both "/" or none needs to be escaped, or ?

None as we are using '@' as the separator, however the extra \ is
benign.

-apw
--
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/