qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] checkpatch.pl: warn on C99 comments, but don't fail
@ 2011-04-01 15:20 Michael Roth
  2011-04-01 15:20 ` [Qemu-devel] [PATCH 1/2] checkpatch.pl: add --no-fail-on-warn option Michael Roth
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Michael Roth @ 2011-04-01 15:20 UTC (permalink / raw)
  To: qemu-devel; +Cc: mdroth, stefanha

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.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2011-04-02 14:28 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-01 15:20 [Qemu-devel] checkpatch.pl: warn on C99 comments, but don't fail Michael Roth
2011-04-01 15:20 ` [Qemu-devel] [PATCH 1/2] checkpatch.pl: add --no-fail-on-warn option Michael Roth
2011-04-01 15:20 ` [Qemu-devel] [PATCH 2/2] checkpatch.pl: make C99 comments a warning, not error Michael Roth
2011-04-01 15:33   ` [Qemu-devel] " Michael Roth
2011-04-01 15:49   ` [Qemu-devel] " Stefan Hajnoczi
2011-04-01 18:46   ` Blue Swirl
2011-04-02 14:02     ` Stefan Hajnoczi
2011-04-01 15:52 ` [Qemu-devel] checkpatch.pl: warn on C99 comments, but don't fail Peter Maydell
2011-04-01 15:59   ` Stefan Hajnoczi
2011-04-01 16:16     ` Peter Maydell
2011-04-01 16:55       ` Michael Roth
2011-04-01 16:58         ` Peter Maydell
2011-04-01 17:24           ` Michael Roth
2011-04-01 17:01         ` Stefan Hajnoczi
2011-04-01 17:25           ` Michael Roth
2011-04-02 13:48             ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).