blob: 6bdfcf463263bdce40d435467ceaf7699b41baaf (
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
|
device: 0.718
mistranslation: 0.654
network: 0.641
instruction: 0.608
vnc: 0.580
graphic: 0.487
socket: 0.471
other: 0.383
assembly: 0.332
semantic: 0.298
boot: 0.293
KVM: 0.221
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.
|