Skip to content

dataplane: fix bogus coverity warnings

Stefan Hajnoczi qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iothread: fix bogus coverity warningiothread.c+4 -10 replies
2/2rfifolock: fix bogus coverity warningutil/rfifolock.c+3 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] dataplane: fix bogus coverity warnings

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(-)
Signature · 1 line
1.8.5.3