diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-09-09 16:47:26 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-09-20 12:27:44 +0200 |
commit | bd5da23265ba3bb11a9f0913e016e3c3a16abf8e (patch) | |
tree | e290bb3ed2a6d46768776d7f301cfebcc84f99ce /hpet.h | |
parent | 7a3f5fe9afbef3c55c1527f61fcfd0b9d4783c0d (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 'hpet.h')
0 files changed, 0 insertions, 0 deletions