diff options
author | Max Filippov | 2018-01-18 19:08:49 +0100 |
---|---|---|
committer | Max Filippov | 2018-01-22 20:54:58 +0100 |
commit | 847a6473206607bc6c84f6c537a0fe603ff7aaa6 (patch) | |
tree | 0772370b77db0673865993020d43121a7eca1152 /hw/display/tc6393xb.c | |
parent | target/xtensa: add sample_controller core (diff) | |
download | qemu-847a6473206607bc6c84f6c537a0fe603ff7aaa6.tar.gz qemu-847a6473206607bc6c84f6c537a0fe603ff7aaa6.tar.xz qemu-847a6473206607bc6c84f6c537a0fe603ff7aaa6.zip |
target/xtensa: disas/xtensa: fix coverity warnings
Coverity warnings CID 1385146, 1385148 1385149 and 1385150 point that
xtensa_opcode_num_operands and xtensa_format_num_slots may return -1
even when xtensa_opcode_decode and xtensa_format_decode succeed. In that
case unsigned counters used to iterate through operands/slots will not
do the right thing.
Make counters and loop bounds signed to fix the warnings.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'hw/display/tc6393xb.c')
0 files changed, 0 insertions, 0 deletions