summary refs log tree commit diff stats
path: root/docs/sphinx/kernellog.py
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2020-03-19 19:33:20 +0000
committerPeter Maydell <peter.maydell@linaro.org>2020-04-14 09:44:31 +0100
commit2e7980244585a5be6f2c1b4e14c19d7932ee2fcb (patch)
tree9b0fb86ba711d8c9b510ed631fcb310ab742223b /docs/sphinx/kernellog.py
parent062c73c51e19da0703d7505f9497a70e5398cf89 (diff)
downloadfocaccia-qemu-2e7980244585a5be6f2c1b4e14c19d7932ee2fcb.tar.gz
focaccia-qemu-2e7980244585a5be6f2c1b4e14c19d7932ee2fcb.zip
thread.h: Remove trailing semicolons from Coverity qemu_mutex_lock() etc
All the Coverity-specific definitions of qemu_mutex_lock() and friends
have a trailing semicolon. This works fine almost everywhere because
of QEMU's mandatory-braces coding style and because most callsites are
simple, but target/s390x/sigp.c has a use of qemu_mutex_trylock() as
an if() statement, which makes the ';' a syntax error:
"../target/s390x/sigp.c", line 461: warning #18: expected a ")"
      if (qemu_mutex_trylock(&qemu_sigp_mutex)) {
          ^

Remove the bogus semicolons from the macro definitions.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20200319193323.2038-4-peter.maydell@linaro.org
Diffstat (limited to 'docs/sphinx/kernellog.py')
0 files changed, 0 insertions, 0 deletions