qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] checkpatch.pl: warn on C99 comments, but don't fail


From: Michael Roth
Subject: [Qemu-devel] checkpatch.pl: warn on C99 comments, but don't fail
Date: Fri, 1 Apr 2011 10:20:53 -0500

Was playing around with Stefan's git hook for checkpatch.pl:

http://blog.vmsplice.net/2011/03/how-to-automatically-run-checkpatchpl.html

which seems really useful butter-finger coders such as myself. But some of 
warnings/errors that have carried over from the kernel have made this approach 
somewhat prohibitive for QEMU code.

These patches add a flag that let's checkpatch.pl exit successfully when we 
only have warnings, while still printing them and encouraging users to fix them.

We also make C99 //comments a warning instead of an error, since they don't 
actually violate QEMU's coding guidelines.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]