summaryrefslogtreecommitdiffstats
path: root/util/module.c
diff options
context:
space:
mode:
authorPaolo Bonzini2016-07-15 17:22:10 +0200
committerDavid Gibson2016-07-18 02:45:44 +0200
commitb56d417b8d7548e913d928809ce6bb1d6c2563e2 (patch)
treeaacb0097c7f8538a9841b7605a0b730883f18792 /util/module.c
parentppc/mmu-hash64: Remove duplicated #include statement (diff)
downloadqemu-b56d417b8d7548e913d928809ce6bb1d6c2563e2.tar.gz
qemu-b56d417b8d7548e913d928809ce6bb1d6c2563e2.tar.xz
qemu-b56d417b8d7548e913d928809ce6bb1d6c2563e2.zip
target-ppc: fix left shift overflow in hpte_page_shift
ps->pte_enc is a 32-bit value, which is shifted left and then compared to a 64-bit value. It needs a cast before the shift. Reported by Coverity. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'util/module.c')
0 files changed, 0 insertions, 0 deletions