summaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorAlon Levy2014-01-20 17:57:12 +0100
committerGerd Hoffmann2014-02-03 11:05:15 +0100
commit3761abb167847e9d848588bf15c5d7476845f7e8 (patch)
tree9b0264463c24eeb7ee8f5c5b8583cff5e7630448 /scripts/checkpatch.pl
parentqxl: clear irq on reset (diff)
downloadqemu-3761abb167847e9d848588bf15c5d7476845f7e8.tar.gz
qemu-3761abb167847e9d848588bf15c5d7476845f7e8.tar.xz
qemu-3761abb167847e9d848588bf15c5d7476845f7e8.zip
hw/display/qxl: fix signed to unsigned comparison
Several small signedness / overflow corrections to qxl_create_guest_primary: 1. use 64 bit unsigned for size to avoid overflow possible from two 32 bit multiplicants. 2. correct sign for requested_height 3. add a more verbose error message when setting guest bug state (which causes a complete guess blackout until reset, so it helps if it is verbose). Signed-off-by: Alon Levy <alevy@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions