Re: Make checkpatch.pl's quiet option not print the summary on no errors

From: Andy Whitcroft
Date: Thu Jan 17 2008 - 12:04:52 EST


On Wed, Jan 16, 2008 at 12:06:46PM +0100, Ingo Molnar wrote:
>
> btw, just found a checkpatch.pl buglet, it gets confused on zero-sized
> files:
>
> $ echo -n > /tmp/1.c
> $ scripts/checkpatch.pl --file /tmp/1.c
> ERROR: Does not appear to be a unified-diff format patch
>
> total: 1 errors, 0 warnings, 0 lines checked
>
> Your patch has style problems, please review. If any of these errors
> are false positives report them to the maintainer, see
> CHECKPATCH in MAINTAINERS.
>
> (this broke my code-quality scriptlet)

Sigh ... :)

Thanks I'll sort that out.

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