diff options
Diffstat (limited to 'results/classifier/118/none/1279257')
| -rw-r--r-- | results/classifier/118/none/1279257 | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/results/classifier/118/none/1279257 b/results/classifier/118/none/1279257 new file mode 100644 index 00000000..1793b812 --- /dev/null +++ b/results/classifier/118/none/1279257 @@ -0,0 +1,46 @@ +ppc: 0.735 +device: 0.653 +socket: 0.650 +vnc: 0.576 +network: 0.565 +graphic: 0.498 +x86: 0.484 +kernel: 0.482 +risc-v: 0.474 +semantic: 0.448 +i386: 0.438 +architecture: 0.437 +peripherals: 0.419 +mistranslation: 0.418 +arm: 0.386 +VMM: 0.384 +files: 0.372 +permissions: 0.368 +performance: 0.367 +TCG: 0.367 +assembly: 0.365 +KVM: 0.347 +register: 0.341 +hypervisor: 0.337 +PID: 0.328 +debug: 0.291 +boot: 0.270 +user-level: 0.202 +virtual: 0.194 + +[hw/scsi/scsi-bus.c:910]: (style) Expression '(X & 0x4) == 0x1' is always false. + +Source code is + + } else if ((buf[1] & 4) == 1) { + +Suggest code rework. I found this bug by running +static analyser cppcheck over the source code. + +I also checked the latest code on the web and the +bug exists there also. + +Looks like this has been fixed here already: +http://git.qemu.org/?p=qemu.git;a=commitdiff;h=7ef8cf9a0861b6f67f5e + + |