diff options
Diffstat (limited to 'results/classifier/118/none/1393486')
| -rw-r--r-- | results/classifier/118/none/1393486 | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/results/classifier/118/none/1393486 b/results/classifier/118/none/1393486 new file mode 100644 index 000000000..e403e30c6 --- /dev/null +++ b/results/classifier/118/none/1393486 @@ -0,0 +1,49 @@ +vnc: 0.774 +device: 0.719 +performance: 0.711 +register: 0.679 +mistranslation: 0.671 +socket: 0.656 +network: 0.608 +ppc: 0.579 +virtual: 0.537 +graphic: 0.505 +kernel: 0.504 +VMM: 0.442 +files: 0.440 +semantic: 0.407 +permissions: 0.401 +hypervisor: 0.383 +PID: 0.368 +peripherals: 0.342 +boot: 0.320 +i386: 0.319 +KVM: 0.313 +risc-v: 0.307 +TCG: 0.305 +architecture: 0.301 +arm: 0.288 +debug: 0.266 +x86: 0.211 +user-level: 0.144 +assembly: 0.068 + +hw/virtio/virtio-rng.c:150: bad test ? + +hw/virtio/virtio-rng.c:150:31: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] + + if (!vrng->conf.period_ms > 0) { + error_setg(errp, "'period' parameter expects a positive integer"); + return; + } + +Maybe better code + + if (vrng->conf.period_ms <= 0) { + error_setg(errp, "'period' parameter expects a positive integer"); + return; + } + +Fixed here: +http://git.qemu.org/?p=qemu.git;a=commitdiff;h=a3a292c420d2fec3c07 + |