diff options
author | Alexey Kardashevskiy | 2016-07-18 05:29:08 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2016-07-20 13:31:09 +0200 |
commit | f81bb347ef80e94204b719e1d5e827babb556220 (patch) | |
tree | 3494801562c5adc2faf9f3f6c575c00694b31317 /qapi/qmp-output-visitor.c | |
parent | disas: Fix ATTRIBUTE_UNUSED define clash with ALSA headers (diff) | |
download | qemu-f81bb347ef80e94204b719e1d5e827babb556220.tar.gz qemu-f81bb347ef80e94204b719e1d5e827babb556220.tar.xz qemu-f81bb347ef80e94204b719e1d5e827babb556220.zip |
xhci: Fix possible side effect from assert()
A static analysis tool called BEAM detected possible side effect from
assert() calling a helper which may change an XHCI ring after every call.
This moves xhci_ring_fetch() out of assert() so it will be called
with and without enabled debug.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Message-id: 1468812548-31868-1-git-send-email-aik@ozlabs.ru
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qapi/qmp-output-visitor.c')
0 files changed, 0 insertions, 0 deletions