diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2011-05-20 17:25:07 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2011-06-14 12:56:48 +0200 |
commit | ba7cb5a86ae2ad8b2b78b9367493f9a0d990bac8 (patch) | |
tree | 922fcf3e9886a81209afed55a474bec411dee160 /tests/test-i386-muldiv.h | |
parent | 8ac6d699c453e0f46e601597e371e9ae58c0237e (diff) | |
download | qemu-ba7cb5a86ae2ad8b2b78b9367493f9a0d990bac8.zip qemu-ba7cb5a86ae2ad8b2b78b9367493f9a0d990bac8.tar.gz qemu-ba7cb5a86ae2ad8b2b78b9367493f9a0d990bac8.tar.bz2 |
usb-ehci: fix offset writeback in ehci_buffer_rw
Two bugs at once:
First the mask is backwards, so the it used to keeps the offset and
clears the page address, which is not what we need when we update the
offset.
Second the offset calculation is wrong in case head isn't page aligned.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'tests/test-i386-muldiv.h')
0 files changed, 0 insertions, 0 deletions