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

From: Jovi Zhang
Date: Thu Mar 03 2011 - 23:07:50 EST


2011/3/3 Toralf FÃrster <toralf.foerster@xxxxxx>:
> Hello,
>
> this runs infinitely :
>
> ./scripts/checkpatch.pl --file ./drivers/staging/rtl8192u/r819xU_firmware_img.c
>
> Is this a known behaviour of checkpatch.pl Â?
>

Not infinitely, just need to wait for a long time.

checkpatch.pl works fine, it report like this:

ERROR: space required after that ',' (ctx:VxV)

+0x01,0x00,0x00,0x08,0x00,0x00,0x00,0x00,};
            ^

That file miss so many whitespace after ',' from checkpatch point of view.
Anyway, forget it, checkpatch.pl is not recommended to check those files.
--
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/