qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] dataplane: fix bogus coverity warnings
@ 2014-03-14 15:14 Stefan Hajnoczi
  2014-03-14 15:14 ` [Qemu-devel] [PATCH 1/2] iothread: fix bogus coverity warning Stefan Hajnoczi
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Stefan Hajnoczi @ 2014-03-14 15:14 UTC (permalink / raw)
  To: qemu-devel
  Cc: Kevin Wolf, Markus Armbruster, Stefan Hajnoczi,
	Dr. David Alan Gilbert

Coverity detects when variable are accessed under a mutex most of the time.  It
warns when they are not accessed under the mutex.  I initialized variables
before the mutex and threads that access them even exist - Coverity doesn't
like that.  Fix the code.

Stefan Hajnoczi (2):
  iothread: fix bogus coverity warning
  rfifolock: fix bogus coverity warning

 iothread.c       | 5 ++++-
 util/rfifolock.c | 4 +++-
 2 files changed, 7 insertions(+), 2 deletions(-)

-- 
1.8.5.3

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

end of thread, other threads:[~2014-03-17 14:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-14 15:14 [Qemu-devel] [PATCH 0/2] dataplane: fix bogus coverity warnings Stefan Hajnoczi
2014-03-14 15:14 ` [Qemu-devel] [PATCH 1/2] iothread: fix bogus coverity warning Stefan Hajnoczi
2014-03-14 15:14 ` [Qemu-devel] [PATCH 2/2] rfifolock: " Stefan Hajnoczi
2014-03-14 17:25 ` [Qemu-devel] [PATCH 0/2] dataplane: fix bogus coverity warnings Paolo Bonzini
2014-03-17 14:56   ` 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).