qxl: Slot sanity check in qxl_phys2virt() is off by one, fix
commit6b7332eb4013fec6ad294115ab889d77d4463624
authorMarkus Armbruster <armbru@redhat.com>
Fri, 4 Nov 2011 09:34:24 +0000 (4 10:34 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 17 Jan 2012 15:30:57 +0000 (17 16:30 +0100)
tree251408e92478bc19a035eea1cbe9c6706e941760
parent515aa3c57986b3e26558d72ecaeb7545ecd30510
qxl: Slot sanity check in qxl_phys2virt() is off by one, fix

Spotted by Coverity.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/qxl.c