blob: 5247473aa30daba3f8e97432675a211e8bf2e91c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
device: 0.718
network: 0.641
vnc: 0.580
files: 0.573
graphic: 0.487
socket: 0.471
other: 0.383
performance: 0.362
semantic: 0.298
boot: 0.293
PID: 0.283
KVM: 0.221
permissions: 0.165
debug: 0.164
qemu/hw/intc/arm_gicv3_cpuif.c:2433: bad expression ?
qemu/hw/intc/arm_gicv3_cpuif.c:2433]: (style) Expression '(X & 0x2000000000000000) == 0x1' is always false.
Source code is
((lr & ICH_LR_EL2_HW) == 1 || (lr & ICH_LR_EL2_EOI) == 0)) {
Maybe better code
((lr & ICH_LR_EL2_HW) != 0 || (lr & ICH_LR_EL2_EOI) == 0)) {
Thanks for this bug report -- I have sent a patch making the proposed change: http://lists.nongnu.org/archive/html/qemu-devel/2017-01/msg05030.html
Now fixed in git master, commit d87576e38df7.
|