aboutsummaryrefslogtreecommitdiffstats
path: root/cpus.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-09-09 16:47:26 +0200
committerKevin Wolf <kwolf@redhat.com>2011-09-20 12:27:44 +0200
commitbd5da23265ba3bb11a9f0913e016e3c3a16abf8e (patch)
treee290bb3ed2a6d46768776d7f301cfebcc84f99ce /cpus.c
parent7a3f5fe9afbef3c55c1527f61fcfd0b9d4783c0d (diff)
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 'cpus.c')
0 files changed, 0 insertions, 0 deletions