diff options
author | Paolo Bonzini | 2011-09-09 16:47:26 +0200 |
---|---|---|
committer | Kevin Wolf | 2011-09-20 12:27:44 +0200 |
commit | bd5da23265ba3bb11a9f0913e016e3c3a16abf8e (patch) | |
tree | e290bb3ed2a6d46768776d7f301cfebcc84f99ce /hw/omap_lcdc.c | |
parent | rbd: call flush, if available (diff) | |
download | qemu-bd5da23265ba3bb11a9f0913e016e3c3a16abf8e.tar.gz qemu-bd5da23265ba3bb11a9f0913e016e3c3a16abf8e.tar.xz qemu-bd5da23265ba3bb11a9f0913e016e3c3a16abf8e.zip |
scsi: fix sign extension problems
When assigning a 32-bit value to cmd->xfer (which is 64-bits)
it can be erroneously sign extended because the intermediate
32-bit computation is signed. Fix this by standardizing on
the ld*_be_p functions.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/omap_lcdc.c')
0 files changed, 0 insertions, 0 deletions